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

  2. Rainer Weikusat <> writes:

    [...]

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


    [...]

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


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

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Frank Bossy
    Replies:
    1
    Views:
    457
    Victor Bazarov
    Jul 9, 2003
  2. Boris Boutillier
    Replies:
    7
    Views:
    312
    Thomas Heller
    Oct 17, 2003
  3. Jaroslaw Zabiello

    Zope, ZPT and slots

    Jaroslaw Zabiello, Sep 13, 2005, in forum: Python
    Replies:
    1
    Views:
    346
    bruno modulix
    Sep 13, 2005
  4. tin gherdanarra

    slots? SLOTS?

    tin gherdanarra, Oct 12, 2005, in forum: Python
    Replies:
    2
    Views:
    2,296
    Peter Hansen
    Oct 13, 2005
  5. Jon Smirl
    Replies:
    5
    Views:
    322
    Fuzzyman
    Aug 7, 2006
Loading...

Share This Page