On Wed, 13 Mar 2002, Gary Blackburn wrote: > Anyone have any idea what's going on? The "!" isn't one of the > metcharacters, and all this code works exactly as expected whenever you > run it within an actual Perl file (i.e., not from a one-liner.) I tried > this code on Linux and ActiveState Perl and everything works fine, which > makes me think it's an OS X/Darwin thing. Thoughts? Thanks!
It's the shell that's doing it -- the ! operator is telling the shell to (in short) do stuff... when you're escaping the !, you're escaping it for the shell, not for perl. -- Fred Hicks <[EMAIL PROTECTED]>
