![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: input from STDIN or from a fileby naikonta (Curate) |
on Jan 28, 2008 at 17:16 UTC ( #664713=note: print w/replies, xml ) | Need Help?? |
I don't know how complex your program would be, but I usually just use,
Or, just perl -lpe '$_=uc' if it's really that simple. Anyway, I don't see anything wrong with your code. Update: Fixed missing -l (only the dash was there). Thanks almut :-) Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
In Section
Seekers of Perl Wisdom
|
|