in reply to Re^2: Detecting an imported function (exclude time)
in thread Detecting an imported function
use warnings; use strict; BEGIN { print "Before: $_\n" for grep /f/, keys %{main::}; } sub foo { print "I am defined\n"; } BEGIN { print "After: $_\n" for grep /f/, keys %{main::}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Detecting an imported function (exclude time)
by Ovid (Cardinal) on Nov 17, 2005 at 17:35 UTC |