You are not declaring them here. You are calling them.

&subroutine  call that subroutine. There is no reason to declare them
like this.
Is the same as &subroutine (item1, item2) or subroutine(item1, item2)

Actually there is a difference that someone else can explain. But there
is no reason to "declare" them.

HTH 
Paul

-----Original Message-----
From: Rodney Wise [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2003 10:59 AM
To: [EMAIL PROTECTED]
Subject: Re: PERL code execution rule? 


George,

Thanks for the quick response.

I was reviewing my code some more and here is what I think might be
happening.

In my code, the first thing I do is declare my variables.

Then I declare my subroutines'.

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;



These two subroutines do not take any arguments and assign values to
global variables... so it appears that merely "declaring" them in the
beginning of my code is causing them to execute.  If this is the case,
do I have to declare subroutines?



Thanks,
...
    `·.¸¸.·´¯`·.¸¸.·´¯`·->  rodney



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


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

Reply via email to