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
In reply to Re^3: constant variable using scaler variable
by rovf
in thread constant variable using scaler variable
by luckypower
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |