in reply to Re: print and sayin thread print and say
$answer = myfunct($str1, $str2);
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
Disregarding efficiency, a for loop over one element can be "useful" as a "topicalizer", i.e. locally setting $_ and shortening code. It's suggested by the Perl documentation in Switch Statements for use with the experimental when.
But when helping newbies to learn driving I don't mention how to race in curves while using hand brakes ... ;)
Results (389 votes). Check out past polls.