develooper Front page | perl.perl5.porters | Postings from November 2011

Re: RFC: Autoloading charnames

Thread Previous | Thread Next
Johan Vromans
November 23, 2011 04:17
Re: RFC: Autoloading charnames
Message ID:
Jesse Luehrs <> writes:

> I don't see why using a \N{} sequence should have any impact on what
> functions are available to use in my code.


 $ perl -wE 'binmode STDOUT; warn File::Spec->catfile("foo","bar")'
 Can't locate object method "catfile" via package "File::Spec" (perhaps you forgot to load "File::Spec"?) at -e line 1.


 $ perl -wE 'STDOUT->binmode; warn File::Spec->catfile("foo","bar")'
 foo/bar at -e line 1.

-- Johan

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About