in reply to Re: Re: Can you guess the result? Is it a bug?
in thread Can you guess the result? Is it a bug?
A better way is to make sure the shell doesnt even try...
perl -wMstrict -e'if( my() = 0 ) { print "Passed"; } else { print "Failed"; }'
T I M T O W T D I
perl -wMstrict -e'if( my() = 0 ) { print "Passed"; } else { print "Failed"; }'
T I M T O W T D I
|
---|
In Section
Seekers of Perl Wisdom