No. It's really an assignment, not a comparison.if ($df_output =~ m[(\d+)%\s+/home$]) { $capacity = $1; }
In reply to Re^2: regex syntax and idomatic Perl
by Monk::Thomas
in thread regex syntax and idomatic Perl
by cbeckley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |