Rob Dixon wrote:
> R. Joseph Newton wrote:
> >
> > l Maldonado Torres wrote:
> >
> > >
> > > I am trying to use prototype functions with object but this seems not
> > > to work, I mean perl does not check for the type of arguments.
> > >
> > > I usually do this.
> > >
> > > sub array_print(\@);
>
R. Joseph Newton wrote:
>
> l Maldonado Torres wrote:
>
> >
> > I am trying to use prototype functions with object but this seems not
> > to work, I mean perl does not check for the type of arguments.
> >
> > I usually do this.
> >
> > sub array_print(\@);
> > ...sub array_print(\@)
> > ...
>
> Y
> "Hazael" == Hazael Maldonado Torres <[EMAIL PROTECTED]> writes:
Hazael> I am trying to use prototype functions with object but this seems not
Hazael> to work, I mean perl does not check for the type of arguments.
Exactly. Prototypes are meant for one thing only: to have a Perl function
emu
Hazael Maldonado Torres wrote:
> --
> Hi there.
>
> I am trying to use prototype functions with object but this seems not
> to work, I mean perl does not check for the type of arguments.
>
> I usually do this.
>
> sub array_print(\@);
> ...sub array_print(\@)
> ...
Your immediate problem here i
Hazael Maldonado Torres wrote:
>
>
> I am trying to use prototype functions with object but this seems not
> to work, I mean perl does not check for the type of arguments.
>
> I usually do this.
>
> sub array_print(\@);
>
> ..
> ...
>
> sub array_print(\@)
>{
># my code
>}
>
>
> Then wh