in reply to Re: Re: Re: php + Smarty looks like CGI
in thread php + Smarty looks like CGI
1. "Pass by value"? ' Don't think so.
sub addOne { $_[0]+=1 } my $x = 1; addOne($x); print $x;
It's the assignment to the lexical variables that makes the parameter passing look like "pass by value".
2. "Class variables aren't standard"
What do you mean by this?
Jenda
Always code as if the guy who ends up maintaining your code
will be a violent psychopath who knows where you live.
-- Rick Osborne
Edit by castaway: Closed small tag in signature
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: php + Smarty looks like CGI
by broquaint (Abbot) on May 18, 2003 at 17:26 UTC | |
by Koschei (Monk) on May 19, 2003 at 05:51 UTC | |
by broquaint (Abbot) on May 19, 2003 at 09:29 UTC | |
by Jenda (Abbot) on May 18, 2003 at 18:16 UTC |