in reply to Re^3: design the open function
in thread design the open function
i call the above module named open_temp.pm from the following fileuse warnings; use subs qw/ open /; sub open { print "Hello world!\n"; CORE::open($_[0],"d:\\input.txt") } 1;
will the above code good and efficient?? whether it will work for everything?use lib "d:\\"; use open_temp; open(SEL); print <SEL>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: design the open function
by davido (Cardinal) on May 10, 2006 at 08:02 UTC |