in reply to custom attribute?

I'm interested but I'm not sure what you're asking for. Can you elaborate? Also, I see you playing with prototypes alot these days. Have you read Tom Christiansen's FMTEYEWK Prototypes in Perl? In general it works out that prototypes just don't work for parameter validation. If you want that then you ought to check out Params::Validate and solve the problem the right way.


Seeking Green geeks in Minnesota

Replies are listed 'Best First'.
Re: Re: custom attribute?
by Flame (Deacon) on Jan 28, 2003 at 16:55 UTC
    In this case I'm not really using the prototype. It's behaving more like a counter than anything else. I use the prototype function to read it and determine how many arguments to send... no more. The attribute I'm trying to set is to tell me weather or not the sub being delcared needs references instead of just data.



    My code doesn't have bugs, it just develops random features.

    Flame ~ Lead Programmer: GMS (DOWN) | GMS (DOWN)