Just don't forget to use single quotes when you call eshoprint!$test = 123; echoprint('$test'); sub echoprint { print "$_[0] = ".eval($_[0]) }
In reply to Re: How does one get the name of a passed scalar?
by Dr. Mu
in thread How does one get the name of a passed scalar?
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |