[Pdx-pm] Austin's $VERSION trick
Michael G Schwern
schwern at pobox.com
Fri Jul 15 14:57:05 PDT 2005
On Fri, Jul 15, 2005 at 10:13:03PM +0000, brendan at hollyking.org wrote:
> On Fri, Jul 15, 2005 at 02:37:25PM -0700, Michael G Schwern wrote:
> > Its a test for the reader. You pass. :)
> Doh! I fail. :(
> > perl -wle "require 'C:\\foo\\bar\\baz.pl'; print join qq'\n', keys %INC"
> I get:
Ok, so paths are only Unixy if they go through the "require Foo::Bar" ->
"require 'Foo/Bar.pm'" translation. Makes sense.
Michael G Schwern schwern at pobox.com http://www.pobox.com/~schwern
You are wicked and wrong to have broken inside and peeked at the
implementation and then relied upon it.
-- tchrist in <31832.969261130 at chthon>
More information about the Pdx-pm-list