slots.pm

Discussion in 'Perl Misc' started by Rainer Weikusat, Mar 25, 2013.

  1. After converting the presently largest Perl program I'm dealing with
    (with 12,756 LOC of what the web developer would call 'business
    logic' and no user interface whatsoever) to using this, I've created a
    slightly 'enhanced' version of this and put it on a web page which is
    accessible here:

    http://mss-uk.mssgmbh.com/~rw/slots.html

    Changes:

    - use a file-scope my variable instead of state to make
    this usuable for a larger range of perl version

    - argument checking code which croaks in case of 'unexpected uses'

    - passes constant as first argument to constant::import
     
    Rainer Weikusat, Mar 25, 2013
    #1
    1. Advertisements

  2. [...]
    This attempt to 'improve' this code actually broke the 'just declare a
    parent' case :).
     
    Rainer Weikusat, Mar 25, 2013
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.
Loading...