Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
but it doesn't work. Even simpler stuff doesn't work for me:struct: wire {$main::structs{@arg[0]} = @item[1]}
Ideas? davestruct: wire {$main::simple_var = "hello"}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: setting main package vars w/ RecDescent
by RMGir (Prior) on Apr 18, 2002 at 18:13 UTC | |
by Anonymous Monk on Apr 18, 2002 at 18:35 UTC |