[Pdx-pm] Austin's $VERSION trick
Michael G Schwern
schwern at pobox.com
Fri Jul 15 14:37:25 PDT 2005
On Fri, Jul 15, 2005 at 02:18:46PM -0700, Randal L. Schwartz wrote:
> Michael> Anyone with a Windows machine, I'd be curious to know what it does with:
>
> Michael> require "C:\foo\bar\baz.pl";
>
> You deliberately using a formfeed and two backspaces in there?
Its a test for the reader. You pass. :)
This is what I want to know:
perl -wle "require 'C:\\foo\\bar\\baz.pl'; print join qq'\n', keys %INC"
Replace the file with any absolute path to a Perl file.
--
Michael G Schwern schwern at pobox.com http://www.pobox.com/~schwern
ROCKS FALL! EVERYONE DIES!
http://www.somethingpositive.net/sp05032002.shtml
More information about the Pdx-pm-list
mailing list