qadwjoh has asked for the wisdom of the Perl Monks concerning the following question:
where $date isn't set until after $var is set but before it's actually called?my $var; my $date; ... $var = "date $date"; ... $date = localtime; ... print $var;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Evaluating variables when called
by Limbic~Region (Chancellor) on Mar 09, 2004 at 18:15 UTC | |
|
Re: Evaluating variables when called
by broquaint (Abbot) on Mar 09, 2004 at 18:18 UTC | |
|
Re: Evaluating variables when called
by dragonchild (Archbishop) on Mar 09, 2004 at 18:17 UTC | |
|
Re: Evaluating variables when called
by Juerd (Abbot) on Mar 09, 2004 at 18:33 UTC | |
|
Re: Evaluating variables when called
by NetWallah (Canon) on Mar 09, 2004 at 18:55 UTC | |
|
Re: Evaluating variables when called
by Fletch (Bishop) on Mar 09, 2004 at 18:10 UTC | |
|
Re: Evaluating variables when called
by Stevie-O (Friar) on Mar 09, 2004 at 23:44 UTC |