![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re^2: Want to do One line Perl Commandby muba (Priest) |
on Jul 05, 2004 at 11:08 UTC ( [id://371851]=note: print w/replies, xml ) | Need Help?? |
Hmm... I just don't see why it's so important to you to have a perl -ne style one-liner. What's wrong with a script which can do the job easier and more readable than a one-liner?
"2b"||!"2b";$$_="the question"
In Section
Seekers of Perl Wisdom
|
|