>>>>> "T" == Troy <[email protected]> writes:
T> also look at 'perl -i ' . you can modify original file directly please don't email me privately. there is no reason not to post that to the list. i cc'ed the list where my reply belongs. and please don't top post. finally, i am one of the experts on the list so there is no need to tell me about -i. i didn't mention it because it was more then the OP could handle IMO. he had enough problems with his code as it is. explaining to him how to do a -pie loop would take too long. also the work he was doing would be longish for a -pie loop as well, he needed two full statements - checking a line number and then printing a line. i wouldn't recommend that for a one liner. uri -- Uri Guttman ------ [email protected] -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
