in reply to Creating Filenames using variables
The '_' is a valid character for a variable name, hence Perl looks for $mon_ and doesn''t find it (use strict will tell you that).
You can use $mon . '_' . $date, or $mon . "_$date" or my favorite: "$mon\_$date"
Update: of course you should do this only after performing the magnus manoeuver.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Creating Filenames using variables
by McD (Chaplain) on Feb 08, 2001 at 21:28 UTC |