in reply to Re^2: constant variable using scaler variable
in thread constant variable using scaler variable
Not working ...
Hmmm.... For me it does. For instance from the command line:
This was tested using Perl 5.8.8 on Cygwin, and Perl 5.8.7 on Solaris. What response do you get if you use my example?mucn13154:~ 1 501 $ perl -lwe 'use constant A1=>"abc"; my $var="A1"; p +rint(eval($var))' abc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |