in reply to Scalar variable value is name of a scalar variable
Had to alter the logic a bit too.Is this implementation correct? I have read a few articles which advocate against using symbolic references.
my $lev = "INFO"; $logger->level($$lev); # DEBUG,INFO,WARN,ERROR,FATAL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Scalar variable value is name of a scalar variable
by GrandFather (Saint) on Jul 01, 2009 at 08:48 UTC |