Don't ask to ask, just ask | |
PerlMonks |
Re: help declaring variables within perl one-linerby haukex (Archbishop) |
on Apr 01, 2021 at 20:08 UTC ( [id://11130691]=note: print w/replies, xml ) | Need Help?? |
perl one-liners called from another perl script You've already gotten answers to your question, so let me add: Don't do that! It is hardly ever necessary unless you're doing really fancy stuff, and what you showed here does not fall in that category. See my node here for various examples of editing files and overwriting the originals.
In Section
Seekers of Perl Wisdom
|
|