But if I try to do that with an pre existing keyword it works fine:package CORE::GLOBAL; use subs qw(dwim); sub dwim { print "dwim\n"; } package test; dwim();
Can anybody help?package CORE::GLOBAL; use subs qw(warn); sub warn { print "dwim\n"; } package test; warn();
In reply to Adding Global Keyword? by Sec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |