Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
The stupid question is the question not asked
 
PerlMonks  

Re^5: how NOT to import exported subs/variables from a module?

by adrianh (Chancellor)
on Jun 02, 2006 at 08:34 UTC ( [id://553275]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^4: how NOT to import exported subs/variables from a module?
in thread how NOT to import exported subs/variables from a module?

Interesting counter-point. It sounds like a difference either in how we read code or in how we prefer to optimize our code for readability.

Yup. Although, personally, I think that use with an explicitly empty import list is a clear winner on the readability front because of its lack of ambiguity.

I would tend to write as I described above to stand out better -- or perhaps write "use Module qw()" for a similarly distinctive effect.

We'll just have to agree to differ I guess. I don't really see any difference in readability between using qw() or not - although I can see an argument for using qw() to make adding/removing items from the import list easier.

  • Comment on Re^5: how NOT to import exported subs/variables from a module?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://553275]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.