The ~ is part of =~ operator; it tells perl to match the LHS against the regular expression on the RHS.$this_proc = $0 =~ /^.+\/(.+)$/ ? $1 : $0;
the lowliest monk
In reply to Re: Regular expression problemette
by tlm
in thread Regular expression problemette
by spaceship
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |