in reply to Odd behavior of file test
Hi Trudge,
say
substr+lc crypt(qw $i3 SI$),4,5
You'll need to post more of your code (like where you assign to $Cover) for us to be sure, but it certainly looks like $Cover is not getting assigned the way you expect.
If you're reticent to post code, you can always print out the expected value of $Cover, at various lines, with:
printf "Now at line %d: \$Cover = '%s'\n", __LINE__, $Cover;
and see where it's not assigned to the expected value.
Does that help?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Odd behavior of file test
by Trudge (Acolyte) on Oct 04, 2017 at 00:41 UTC | |
Re^2: Odd behavior of file test
by Trudge (Acolyte) on Oct 04, 2017 at 00:25 UTC |
In Section
Seekers of Perl Wisdom