in reply to Typeglob syntax arcanery
Erm . . .
$ perl -le '$charlie::delta="foo";($a,$b,$c,$d)=qw( alpha beta charlie + delta ); *{"${a}::$b"} = *{"${c}::$d"};print $alpha::beta;' foo
Wrap with a surrounding block of no strict as needed. Not that it's probably not a good idea to begin with.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Typeglob syntax arcanery
by Anonymous Monk on Mar 03, 2011 at 18:34 UTC |