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

Re^3: Can I please have *simple* modules?

by Perl Mouse (Chaplain)
on Nov 24, 2005 at 15:26 UTC ( #511454=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Can I please have *simple* modules?
in thread Can I please have *simple* modules?

What? You only have at most one for() statement, or one while (<$handle>) statement per program? Or do you factor that out as well?

Never writing the same thing twice doesn't work on a low level. Accessors are low level.

Perl --((8:>*


Comment on Re^3: Can I please have *simple* modules?
Re^4: Can I please have *simple* modules?
by itub (Priest) on Nov 24, 2005 at 15:34 UTC
    Damn, you tell me that after I spent hours trying to figure out how to avoid writing and rewriting #!/usr/bin/perl in all my programs! ;-)

    (Well, actually I tend to use editor templates for that...)

Re^4: Can I please have *simple* modules?
by Aristotle (Chancellor) on Nov 24, 2005 at 19:49 UTC

    They follow a repetitive pattern. So you write a closure that encapsulates this pattern and assign instances of it to globs in your symbol table. This is Perl, not C. Copypasting is stupid busywork.

    Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2014-04-23 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (541 votes), past polls