in reply to Re: "Useless use of private variable in void context"
in thread "Useless use of private variable in void context"
To clarify, using your method, do I want to have the length error appear physically before/after the error in question - or numerically?
Also, how is this possible?
Useless use of private variable in void context at beta.cgi line 2766. Useless use of length in void context at beta.cgi line 2766.
The 'length' line of code is one line before the GeneratePassword() line, yet they show up as the same line in the error? Is this because the perl interpreter has simplified them into one line of code?
However, if I place the 'length' line on the very next line after the GeneratePassword() line, I get the following (this is what I'm looking for, correct?
Useless use of private variable in void context at beta.cgi line 2766. Useless use of length in void context at beta.cgi line 2767.
So using this method, does it not point to the line my $generated_password = GeneratePassword(); as the culprit?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: "Useless use of private variable in void context"
by BrowserUk (Patriarch) on Jun 20, 2003 at 22:18 UTC | |
by BrowserUk (Patriarch) on Jun 20, 2003 at 22:50 UTC | |
by Anonymous Monk on Aug 22, 2008 at 20:57 UTC | |
by BrowserUk (Patriarch) on Aug 22, 2008 at 22:31 UTC |
In Section
Seekers of Perl Wisdom