grep in perl doesn't work exactly same way as grep in *nix. It functions differently in perl, and has better uses in perl that the *nix's grep can't do. perldoc -f grep
> -----Original Message----- > From: James Taylor [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 13, 2002 3:06 PM > To: [EMAIL PROTECTED] > Subject: TAIL > > > is there a perl function equivalent to the *nix command 'tail'? > I don't mean like, a workaround through loops that will > produce the same sort > of result, just a function. > > Also, what are the benefits of using the function grep? > Doing a system call > to grep seems to run faster than the perl function! > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]