in reply to some problem with date
print $fileAgeInDays, " days since it was created\n\n";
you can do
print "$fileAgeInDays days since it was created\n\n";
Note that interpolation does not occur inside single-quoted strings.
I hope this is of use to you.
Cheers,
JohnGG
Update: Corrected missing dollar sigil. Thanks, ikegami.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: some problem with date
by ikegami (Patriarch) on Apr 13, 2007 at 14:14 UTC | |
by johngg (Canon) on Apr 13, 2007 at 14:18 UTC |