> > >
> > > But you get to populate %_default, right? So you can make
> > > sure that the
> > > keys are uppercase. I don't understand why you do this tr.
> >> >The user will not populate the %_default.
>
> Right, that's what I meant, you're populating it. So I don't
> see that you
> need t
At 09:06 AM 9/25/01 -0400, Kipp, James wrote:
> >
> > >
> > >foreach my $attr ( keys %_default ) {
> > > my ($argname) = ($attr =~ tr/a-z/A-Z/); # make sure key is
> > >uppercase(like FILE)
> >
> > But you get to populate %_default, right? So you can make
> > sure that the
> > keys are u
>
> >
> >foreach my $attr ( keys %_default ) {
> > my ($argname) = ($attr =~ tr/a-z/A-Z/); # make sure key is
> >uppercase(like FILE)
>
> But you get to populate %_default, right? So you can make
> sure that the
> keys are uppercase. I don't understand why you do this tr.
The user
At 05:04 PM 9/24/01 -0400, Kipp, James wrote:
>Hi
>
>I am the processing of writing a simple module and my brain just froze.
>I am trying to valide data that is being passed to the object constructor
>to make sure the arguments are acceptible. The args are being passed as
>named arguments.
>--
>#