in reply to overwrite builtin functions ( system, chdir )

Perl needs to know that you want to override a builtin at the time it compiles the code that calls the builtin. Put your *CORE::GLOBAL:: assignments in a BEGIN block.
  • Comment on Re: overwrite builtin functions ( system, chdir )

Replies are listed 'Best First'.
Re^2: overwrite builtin functions ( system, chdir )
by borisz (Canon) on Apr 04, 2005 at 13:50 UTC
    Thanks, that work fine!
    Boris