Home  |  Linux  | Mysql  | PHP  | XML
From:Gunnar Hjalmarsson Date:Thu Apr 23 19: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
Web photo album, is this possible in CGI
Re: Need help with a login script
content type headers
Re: Showing errors with user input
Re: Showing errors with user input



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants