I wonder why this works for glob, but not for chdir, system, chr and ord. Whats wrong with my code?*CORE::GLOBAL::system = sub { print "system\n" }; *CORE::GLOBAL::chdir = sub { print "chdir\n" }; *CORE::GLOBAL::glob = sub { print "glob\n" }; glob; chdir; system __OUTPUT__ glob
In reply to overwrite builtin functions ( system, chdir ) by borisz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |