Within the subroutine, call the fully qualified name for open: CORE::open( ....... ).
CORE::open() will always refer to the original open. ....always, that is, unless you read in perlsub how to mess that up too. ;) (Hint: don't mess with CORE::open, without an extraordinarily good reason.)
Dave
In reply to Re^3: design the open function
by davido
in thread design the open function
by singam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |