George Schlossnagle wrote:

> On Tuesday, September 9, 2003, at 10:59  AM, Rodney Wise wrote:
> >
> > It looks like by declaring my subroutines, they are being executed. ???
> >
> > example of my Subroutine declarations:
> >
> >
> >
> > # Get the Data Number
> > &get_number;
> >
> > # Get Form Information
> > &parse_form;
>
> Just to be sure we're on the same playing field - you realize that this
> is not a declaration, but is actually a call to execute those
> subroutines, right?  In perl you do not pre-declare subs.

Not quite accurate.  You do not have to, but Perl does allow prototypes, and
will enforce the ones you choose to declare.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to