LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Jenda Krynicky Date: Wed May 14 03:26:22 2008 Subject: Re: assign default value to variables I assign from split
From: "Dr.Ruud" <rvtol+news@isolution.nl> > Richard Lee schreef: > > > > [$file1,$file2,$file3,$file4,$file5,$file6,$file10,$file25] > > I didn't want to put them in array > > since I need to use individual named variable later > > And why is that? Maybe because in the real code they are not $file1, $file2,... but rather $username, $password, $last_login, $created, $permissions, ... And assigning the default is the last thing that's done to all of them. Jenda ===== Jenda@Krynicky.cz === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery
| Navigate in group perl.beginners at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |