NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
It's a Method! (Score:1)
Besides your update,
import()is a method. When you call methods as functions in Perl, you don't always get what you want.I think you'll have more luck checking
caller()to see if someone has invoked your program directly.Reply to This