in reply to
Best way to pass variables?
While this only works for 'binary' cases, I like:
$response = $ARGV[0]=~/foo/?'hello':'huh';
And you can nest ternaries or use if modifiers.
Comment on
Re: Best way to pass variables?
Download
Code
In Section
Seekers of Perl Wisdom