Home  |  Linux  | Mysql  | PHP  | XML
From:Gunnar Hjalmarsson Date:Thu Apr 23 15:57:00 2009
Subject:Re: Global scope
Vance E. Neff wrote:
> Gunnar,
> 
> Thanks for your response!
> 
> That is what I started with

Which "that" are you referring to? Please do not top post.

<snip>

> So you can't do something like this:
> our $variable = "value1" if (something is true);
> our $variable = "value2" if (something else is true);

At http://perldoc.perl.org/perlsyn.html#Statement-Modifiers it's stated 
that the behavior of my() is undefined when modified with a statement 
modifier. Maybe that's true for our() as well.

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
Navigate in group perl.beginners.cgi at sever nntp.perl.org
Previous Next


Your recent visits
Re: Web photo album, is this possible in CGI
is ZendStudio IDE necessary????
Re: [PHP-DB] upload multiple files and rename wih time()
Re: Basic Perl Questions
Re: sequential value check


  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants