in reply to Re^2: Why \n matches but not $^? (weight)
in thread Why \n matches but not $^?

Thanks moritz,

That's very helpful. I didn't know about that re debug module.

BTW: Why are you and tye using Perl's -l switch?

Terry

  • Comment on Re^3: Why \n matches but not $^? (weight)

Replies are listed 'Best First'.
Re^4: Why \n matches but not $^? (weight)
by moritz (Cardinal) on Oct 14, 2008 at 05:57 UTC
    BTW: Why are you and tye using Perl's -l switch?

    It adds a newline to every print statement. See perlrun for more information.

    If you have perl 5.10.0 or newer, you can say perl -wE 'say ...' instead.