From: Uri Guttman on 14 Jun 2010 20:25 >>>>> "JWK" == John W Krahn <jwkrahn(a)example.com> writes: JWK> Uri Guttman wrote: >>>>>>> "JWK" == John W Krahn<jwkrahn(a)example.com> writes: >> JWK> my $str = shift or die "No argument provided\n"; >> JWK> print `tac $str`; >> >> well, if you are going to fork out, why need the backticks and print? >> >> system "tac $str" ; JWK> Cause then I would have to do all the system error checking (which you JWK> neglected to do) and besides, print() with no filehandle does not JWK> necessarily go to STDOUT. :-) i didn't expect the spanish inquisition! <cue michael palin who is always late> uri -- Uri Guttman ------ uri(a)stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
First
|
Prev
|
Pages: 1 2 3 Prev: www.thevoid1.net/offlame Next: FAQ 4.13 How do I find the current century or millennium? |