Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

(jeffa) Re: How do you avoid "Code Burnout"?

by jeffa (Bishop)
on Jun 30, 2003 at 22:14 UTC ( #270345=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    package Old;
    sub page3 { " page3" }
  2. or download this
    package New;
    sub page2 { "H::T page2" }       # page 2 was easier than 1 ;)
  3. or download this
    package Interface;
    sub page3 { return Old->new()->page3 }
  4. or download this
    use strict;
    use warnings;
    my $obj = Interface->new;
    print $_,$/ for map $obj->$_, qw(index page1 page2 page3);
  5. or download this
    package Interface;
    sub DESTROY {}  # good practice - prevents unecessary call to AUTOLOAD

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://270345]
[haukex]: Corion: Yes exactly, in the author tests I don't worry about portability as much, I also don't list the author tests' dependencies in Makefile.PL
[haukex]: I figure someone who wants to contribute will know how to install the missing modules ;-) Not the nicest way to go but I don't think many people are using my modules yet
[ambrus]: Corion: some of these stupid syntax highlighters assume that too. just look at the table in http://perldoc. functions/pack. html for example.
[haukex]: ..."yet" ;-) I haven't had to deal with Dist::Zilla yet but I've heard about how it's a big setup
[ambrus]: I really don't like automagic stuff. I'm happy when computers do exactly what I tell them, even if that means they sometimes do the wrong thing.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2017-02-27 12:41 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (385 votes). Check out past polls.