RE: Pattern Matching Operators

2003-10-05 Thread TN
>Is there a similar operator in Perl for ${variable##pattern} as there is in korn shell. As far as I can tell, no. However, from http://wwwcgi.rdg.ac.uk:8081/cgi-bin/cgiwrap/wsi14/poplog/man/1/ksh : ${parameter##word} Remove Largest Prefix Pattern. The word will be expanded to produce a

Re: Pattern Matching Operators

2003-10-05 Thread Zanardi2k3
[EMAIL PROTECTED] (Prasad Karpur) wrote: > Is there a similar operator in Perl for ${variable##pattern} as there > is in korn shell. Not knowing korn shell, i'm not sure if this is what you want, but there is a Pattern Matching Operator in perl, and it is the "m//" operator. Look at perldoc pe