OR, you could use CORE to call bulitin like so:
Then to see what went down call your script like so perl -MO=Deparse perlscript.plthen you see this:use strict; use warnings; use Time::HiRes qw(); # just like others said Time::HiRes::sleep(2); # module sleep function CORE::sleep(2); # bulitin sleep function
use Time::HiRes (); use warnings; use strict 'refs'; &Time::HiRes::sleep(2); sleep 2;
In reply to Re: Which subroutine or method was called?
by 2teez
in thread Which subroutine or method was called?
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |