- kullsuse strict; use warnings; my @filename=(raja.exe,rhs.dll,sd.sf); my $pattern='(\.exe) | (\.dll)'; foreach( @filename) { print $_ if( $_ =~ /$pattern/x ); }
In reply to Re: Parsing a file with multiple delimeters
by kulls
in thread Parsing a file with multiple delimeters
by JFarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |