Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Namespace Pollution (colliding imports)

by Aristotle (Chancellor)
on May 07, 2003 at 00:23 UTC ( [id://256084]=note: print w/replies, xml ) Need Help??


in reply to Re: Namespace Pollution
in thread Namespace Pollution

$ perl -we'sub x { &foo } sub x { &bar }' Subroutine x redefined at -e line 1.
You won't get a heads-up for multiple imports to the same symbol name, though.

Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-20 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found