in reply to Re: Prevent Strings From Being Interpreted As A File Handle
in thread Prevent Strings From Being Interpreted As A File Handle
$ perl -fle " sub Snacks::Ahoy { q{Nom} } open Snacks , q{<}, \q{Rice} +; local *Snacks; print Snacks::->Ahoy " Nom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Prevent Strings From Being Interpreted As A File Handle
by amon (Scribe) on Apr 27, 2014 at 14:33 UTC | |
|
Re^3: Prevent Strings From Being Interpreted As A File Handle
by tobyink (Canon) on Apr 27, 2014 at 14:05 UTC |