Problems? Is your data what you think it is? | |
PerlMonks |
Re: Move along, nothing to see here . . .by Corion (Patriarch) |
on Jan 22, 2012 at 21:03 UTC ( [id://949282]=note: print w/replies, xml ) | Need Help?? |
If you are really bent on doing a changed-assignment in one line, you can do it like this:
The issue is one of precedence, and the parentheses make the assignment happen first, and the replacement on $parent_directory second.
In Section
Seekers of Perl Wisdom
|
|