I have the following script (002.pl) that is generating error messages.
Can anyone please give me help?
Thanks,
Steve


#! D:\perl\bin

use strict;
use warnings;

@now = localtime time;
$filename = "Report-" . ($now[4] + 1) . "-" . $now[3]. "-" . $now[5] .
"-" . $now[2] . "-" . $now[1] . "-" . $now[0] . ".txt";
print "$filename\n";


Global symbol "@now" requires explicit package name at 002.pl line 6.
Global symbol "$filename" requires explicit package name at 002.pl line
7.
Global symbol "@now" requires explicit package name at 002.pl line 7.
Global symbol "@now" requires explicit package name at 002.pl line 7.
Global symbol "@now" requires explicit package name at 002.pl line 7.
Global symbol "@now" requires explicit package name at 002.pl line 7.
Global symbol "@now" requires explicit package name at 002.pl line 7.
Global symbol "@now" requires explicit package name at 002.pl line 7.
Global symbol "$filename" requires explicit package name at 002.pl line
8.
Execution of 002.pl aborted due to compilation errors.




_______________
Siebel Systems, Inc.
www.siebel.com

This e-mail message is for the sole use of the intended recipient(s) and 
contains confidential and/or privileged information belonging to Siebel 
Systems, Inc. or its customers or partners. Any unauthorized review, use, 
copying, disclosure or distribution of this message is strictly prohibited. If 
you are not an intended recipient of this message, please contact the sender by 
reply e-mail and destroy all soft and hard copies of the message and any 
attachments. Thank you for your cooperation.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to