In article <[EMAIL PROTECTED]>, Bruce Pascal
<[EMAIL PROTECTED]> wrote:

> I am having a problem with a parser which works in DOS, but does not work in
> the OS X BSD shell. 

> if ($line =~ /^\n/) {
>    # Do Something
> }

> Why would this happen? Any ideas?

The one that doesn't match \n doesn't have \n, which is just a
fancy name for a particular bit pattern that different systems
interpret different (Mac being the weirdo here, in my opinion).

The perlport man page has more details.

-- 
brian d foy, [EMAIL PROTECTED]

Reply via email to