Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How do I train myself to write more Perl-ish Perl, rather than C-ish Perl?

by webfiend (Vicar)
on Dec 13, 2007 at 19:46 UTC ( #656898=note: print w/replies, xml ) Need Help??


in reply to How do I train myself to write more Perl-ish Perl, rather than C-ish Perl?

I had the same problem. The only thing that got me out of it was to force myself to write a lot of Perl code (not so bad) that used map, grep, and foreach style (very awkward at first). The new approach became more natural after a few weeks. I completely forgot about my older style after a couple of months.

Really, the best way to stop writing C-style Perl code is to start writing Perl-style Perl code.

  • Comment on Re: How do I train myself to write more Perl-ish Perl, rather than C-ish Perl?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2019-07-20 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?