Hi Martin,
You should start learning regular expressions
e.g. by typing
perldoc perlre
or probably better with one of the Perl Books. Probably Learning Perl
3rd edition can be a good choice though I have seen only the 2nd yet.
and now your examples:
>
> I want to know what this lines can mean. I have a lot of lines like that
> to
> understand.
>
> s/à/a/g
replace all occurance of à by a in the variable $_
>
> $qte1 =~ /\s*//g ;
replace al white spaces (spac, tab) in the string in $qte1
> $usager =~ s/-/_/g ;
replace dash by underscore
> $ppa =~ /o/i
this does not mean anything on its own (but in an if statement it
would return TRUE if the string in $ppa conatins either o or O
regards
-- Gabor
>
> Thanks a lot
> Martin
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Gabor Szabo
http://www.tracert.com/
Web site monitoring
Web application development
Perl training
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]