Hi all,
i have a peice of Perl script like this:
foreach (@line) {
@tmp = split /;/,$_;
#print "Line is: $_\n";
switch($tmp[3]){
case m/p60/i {
push @p60, [ $tmp[1], $tmp[4] ];
}
I want to match the string "p60" even if it was written with any whitespaces, for example: "p 60", or "p 60" etc...
Is there any way to add this feature of deleting whitespaces at "case m/........."??
Thank you in advance!!
Ervin