Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?
Replies are listed 'Best First'.
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.

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...)

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 musing on the Monastery: (12)
As of 2015-09-03 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (126 votes), past polls