Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Namespaces & colliding names

by shawnhcorey (Friar)
on Nov 08, 2016 at 14:18 UTC ( [id://1175546]=note: print w/replies, xml ) Need Help??


in reply to Namespaces & colliding names

You could also rename File::Basename::basename

use File::Basename (); local *file_basename = \&File::Basename::basename; say file_basename( $0 );

Replies are listed 'Best First'.
Re^2: Namespaces & colliding names
by jahero (Pilgrim) on Nov 09, 2016 at 08:29 UTC
    This leads me to understanding another concept I had trouble understanding - typeglobs. Thanks for that.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1175546]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found