N
new2perl
Trying to match a variable such as: $name
or
a hashvar such as: $name{var1}
Tried s/\$(\w+)/g but that only matches $name.
Also tried s/\$(\w+{?\w*}? - not working.
Bob.
or
a hashvar such as: $name{var1}
Tried s/\$(\w+)/g but that only matches $name.
Also tried s/\$(\w+{?\w*}? - not working.
Bob.