hi,
i'm using the example from man perlop for here docs with indentation
i'm using vim syntax with "set list" and "set number lines"
1 ^I(my $quote = <<'^IFINIS') =~ s/^\s+//gm;$
2 ^IThe Road goes ever on and on,$
3 $
4 ^I$
5 ^Idown from the door where it began.$
6 ^IFINIS$
why does s/^\s+//gm kill the "empty" lines 3 and 4, whereas s/^\t+//gm
does not?
thx
matthias
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/