in reply to Re: Is it possible to call a package::main subroutine from a module?
in thread Is it possible to call a package::main subroutine from a module?
Thank you. I'll try this out.
Can you tell me why it's better to use sub foo { my ($x,$y,$z) = @_; ... } instead of $_[0] ?
I've been using $_[0] for twenty years and never heard of an issue with it ... but then I can be thick sometimes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Is it possible to call a package::main subroutine from a module?
by Anonymous Monk on Mar 21, 2016 at 23:12 UTC | |
by TorontoJim (Beadle) on Mar 22, 2016 at 16:25 UTC |