in reply to Re: Perl Syntax that we generally don't know or forget.
in thread Perl Syntax/resources that we generally don't know or forget.
Actually the code to remove a comment line should be:
Thanks for the advice. ;-P$str =~ s/(?:^|\n)[ \t]*#[^\r\n]*//gs ;
Graciliano M. P.
"Creativity is the expression of the liberty".
|
|---|