The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
perl: storing regex in array variables trouble
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
perl: storing regex in array variables trouble
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
08-29-2008
era
Herder of Useless Cats (On Sabbatical)
Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
With a string in double quotes, the $1 gets interpolated at the time you define the string. Try single quotes and eval print $res;
era
View Public Profile
Visit era's homepage!
Find all posts by era
Find era's past nominations received
Find era's present nominations given