|
|
| Just another Perl shrine | |
| PerlMonks |
Re^2: While issuesby Dandello (Beadle) |
| on Feb 03, 2011 at 16:36 UTC ( #886022=note: print w/ replies, xml ) | Need Help?? |
|
Your initial solution was SO much better than mine. So that's the one I'm using. I needed to find the first random non-blank element. Using shuffle worked, but I was looking for a neater and simpler way. Again, thank you. My final - . Using 'defined' is actually better in this case than using "" or q{}. No warnings.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||