in reply to Re: Printing an array using while loop
in thread Printing an array using while loop
Update: made 0-safe
But still not undef-safe. ;-)
print shift @array while @array;
... which is about the silliest code I've ever written. Sheesh, what's with these arbitrary limitations? :)
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
|
---|
In Section
Seekers of Perl Wisdom