Jason Corbett wrote:
> 
> Hello. I am using variables that are local in my scripts by doing the my 
> $variable_name technique.
> 
> Can someone tell me if there is an official way to define a global variable?

Perl doesn't really have "global" variables (like BASIC does), except
for some of the special variables listed in perlvar.pod.  Perl's
variables are either package or lexically scoped.


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to