in reply to Prove me wrong,...please (yet more regex blues).
(the parens around the rhs are probably optional, but I like having them there; the ones around the lhs are mandatory, of course)my ( $vsan, $vname ) = ( $record =~ /^\s+vsan\s+(\d+)\s+name\s+(.+)/ ) +;
updated to include the literal string "name" in the regex match.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Prove me wrong,...please (yet more regex blues).
by Anonymous Monk on Sep 23, 2005 at 13:15 UTC | |
by halley (Prior) on Sep 23, 2005 at 14:05 UTC |