Re: Need help creating filename with date

2005-03-23 Thread John W. Krahn
Steven Golamco wrote: I have the following script (002.pl) that is generating error messages. Can anyone please give me help? #! D:\perl\bin use strict; use warnings; @now = localtime time; $filename = "Report-" . ($now[4] + 1) . "-" . $now[3]. "-" . $now[5] . "-" . $now[2] . "-" . $now[1] . "-" .

RE: Need help creating filename with date

2005-03-23 Thread Charles K. Clarkson
Steven Golamco wrote: : I have the following script (002.pl) that is generating error : messages. Can anyone please give me help? You need to learn about 'my'. You can read about it in the perlfunc file. There are additional resources linked from there. Better