Think about Loose Coupling | |
PerlMonks |
Re: Paranormal leakage of previous value from conditionally set lexical variableby toolic (Bishop) |
on Mar 09, 2016 at 19:25 UTC ( [id://1157207]=note: print w/replies, xml ) | Need Help?? |
I can duplicate your results on Perl 5.16.3.
What do you expect your output to be? I expect to get the following warning when dow=7 since you don't set workday to a defined value:
Tip #6 from the Basic debugging checklist: B::Deparse, but it doesn't reveal much. Interesting to change 8 to 9:
In Section
Seekers of Perl Wisdom
|
|