in reply to Re: Want to do One line Perl Command
in thread Want to do One line Perl Command

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"