Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Best practice or cargo cult?

by vkon (Curate)
on Jun 20, 2006 at 18:33 UTC ( #556505=note: print w/replies, xml ) Need Help??

in reply to Best practice or cargo cult?

I saw many examples of code without these modifiers (in books, CPAN modules, documentation) and they are typed only when needed.

So I think - no, those are not good practice, rather those are just tools which I either need or not in my particular case.

Regarding 'm' switch, I use it rarely, every time I use it I clearly imagine on how my strings are constructed and why namely I want line beginning.
So it will be the first candidate to leave your list, IMO :):)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2016-10-23 11:11 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.