Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Why the print is not workingby blue_cowdawg (Monsignor) |
on Nov 10, 2005 at 16:41 UTC ( [id://507454]=note: print w/replies, xml ) | Need Help?? |
My son, let me give you some priestly advice: When you want to find out why something isn't working you first have to establish for the reader what your criteria for "working" is. In other words: what were you expecting to happen, and what really happened. As has been noted before and I quote from the perldoc for reverse:
So with that in mind, if I run the following on-liner: I get the following terse output:
Let us play... If I run the following one liner: I am now feeding reverse an array and I can now get the result
I hope this clears things up for you....
Peter L. Berghold -- Unix Professional Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
In Section
Seekers of Perl Wisdom
|
|