in reply to Re: constant variable using scaler variable
in thread constant variable using scaler variable

This node falls below the community's minimum standard of quality and will not be displayed.
  • Comment on Re^2: constant variable using scaler variable

Replies are listed 'Best First'.
Re^3: constant variable using scaler variable
by rovf (Priest) on Oct 01, 2008 at 10:21 UTC
    Not working ...

    Hmmm.... For me it does. For instance from the command line:

    mucn13154:~ 1 501 $ perl -lwe 'use constant A1=>"abc"; my $var="A1"; p +rint(eval($var))' abc
    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?

    -- 
    Ronald Fischer <ynnor@mm.st>
    A reply falls below the community's threshold of quality. You may see it by logging in.