some other elegant solution I've overlooked?
lib is core:
($_ = $0) =~ s[[\\/][^\\/]+$][]; use lib $_; [download]
In reply to Re: @INC from $0 by BrowserUk in thread @INC from $0 by der