in reply to use vars - how to use this
You found an example, but you didn't copy/paste
The docs for vars also has example
Did you notice the difference? qw are quotes
use vars qw/ $foo $bar /; is the same as use vars '$foo', '$bar';
see perlop#Quote and Quote like Operators
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use vars - how to use this (copy paste)
by JockoHelios (Scribe) on Jun 07, 2013 at 01:03 UTC | |
|
Re^2: use vars - how to use this (copy paste)
by Anonymous Monk on Jun 07, 2013 at 00:35 UTC |