SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yes, but cute-bartender-40d.24.36-x86_64-1.txz has a better output in interoperability with libjackdaniels, libcola, libjosecuervo, libgrenadine, and libbeer, and is able to function as a dynamic interpreter for libbacardi and libbeefeater which have some incompatibilities with other barlibs from time to time. We have noticed the output of the mixed-drink binary is cleaner and the instances of error:hangover in drinks.log are fewer, plus the new cute-bartender package is able to output instance::adiosmotherfucker, instance::jackncoke, instance::longislandiceatea, and instance::happiness has increased dramatically. Plus it works better in the new bar-shell system quite high stability.
This one didn't have any injection patches. This version was created as such. Pure vanilla code baby.
Congratulations on your successful uptake of pretty-wife-1.0-x86_64-1.txz! The benefits are great, although there is potential for spawning of child processes, that can be resource hungry with significant loss of system idle time.
Also, some users who have experienced failure with pretty-wife-1.0-x86_64-1.txz have reported a rocky upgrade path to pretty-wife-2.0-x86_64-1.txz and beyond.
Congratulations on your successful uptake of pretty-wife-1.0-x86_64-1.txz! The benefits are great, although there is potential for spawning of child processes, that can be resource hungry with significant loss of system idle time.
Also, some users who have experienced failure with pretty-wife-1.0-x86_64-1.txz have reported a rocky upgrade path to pretty-wife-2.0-x86_64-1.txz and beyond.
About squirted orange juice out my nose allend... LOL
Just be advised pretty-wife-1.0-x86_64-1.txz will seek to gain control of life-1.0-noarch-1.txz as PID1. Just be aware to scan pretty-wife-1.0 for mother-in-law-1.0 also in the package which could have malware like behaviors.
where there be a thread "must be included in next slackware version" ?
Cannot find.
Strange, slackware installation does not include acpi util, not iotop, nor also very useful ncdu...
Having fun is part of the Slackware way. If we didn't joke around, it just wouldn't be LQ or Slackware now would it? Laughter fills the soul with joy and light, just like Slackware lights the way of learning with joy.
This isn't Slackware related but I figure asking a bunch of Slackware people is most likely to work...
I use an old intrusion detection program called fcheck that appears to be unsupported. It's a perl program, but I'm not a perl programmer. Unfortunately I'm getting this warning:
Quote:
Use of assignment to $[ is deprecated at /usr/local/sbin/fcheck line 638.
What did that assignment do?
Here's the top of the function that does it; the offending code is in the second line of code within the function:
Quote:
###############################################################################
# $x=&ctime($y); #
# This support routine will return the converted time to human readable format#
# Basically, I'm trying to get away from any functions that may not be in any #
# very minimal PERL distribution. #
###############################################################################
sub ctime
{
local($time) = @_;
local($[) = 0;
local($sec, $min, $hour, $mday, $mon, $year, $wday);
Thanks! I'm sure I could figure it out if I spent the time on it, but someone who is fluent in perl can probably look at it and tell me in a few seconds...
Deprecated means it's using an older function command, path, or library that is still around, but isn't exactly optimal to use. It doesn't mean it still isn't useful on some level however.
Deprecated means it's using an older function command, path, or library that is still around, but isn't exactly optimal to use. It doesn't mean it still isn't useful on some level however.
I know. My question is, as someone who doesn't know perl, what was that line of code doing so that I can rewrite it to avoid the warning message? I've programmed in a number of languages, but I haven't seen a construct like that before. I know I can surpress warning too, but I'd rather fix the code.
(As a learning point, btw, threadjacking is a suboptimal way of getting answers (even when it's your own thread that you're threadjacking). New question => new thread)
This isn't Slackware related but I figure asking a bunch of Slackware people is most likely to work...
I'm sure I could figure it out if I spent the time on it, but someone who is fluent in perl can probably look at it and tell me in a few seconds...
Code:
$[
The index of the first element in an array, and of the first character in a substring. Default is 0, but you could theoretically set it to 1 to make Perl behave more like awk (or Fortran) when subscripting and when evaluating the index() and substr() functions. (Mnemonic: [ begins subscripts.)
As of release 5 of Perl, assignment to $[ is treated as a compiler directive, and cannot influence the behavior of any other file. Its use is highly discouraged.
From the looks of it, that whole line "local($[) = 0;" could be omitted because the default is already zero.
I believe $[ is one of those things that you used to set just to be sure of no nasty surprises, much like setting IFS in shell-scripts. $[ used to have global scope within the perl file so you couldn't rely on it being set to a default value on entry to your routine. Later they changed it to local scope, and then I guess just decided it better to deprecate its use completely (presumably because it confused people).
I always liked the pascal approach of doing arrays, where you define each array with an explicit index range such as [1..10] rather than having a fixed 0 or 1 base for all arrays. Seems the $[ perl feature was something in between the two.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.