Re: interactive mode ` ` in perl script
From: Joe Smith (joe_at_inwap.com)
Date: 03/03/05
- Next message: CowBoyCraig: "Trouble with $key to HASH when Numeric"
- Previous message: VMDD Tech - powered by sockSvr: "[ANN] j2Perl 2.0 - Allowing Java to access Perl code"
- In reply to: DGG: "interactive mode ` ` in perl script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 03 Mar 2005 13:07:11 -0800
DGG wrote:
> I am using ActivePerl, and running on DOS/Windows.
> So I would use `date` to get the current date.
I take it that you haven't tried using localtime() in scalar mode.
$date_as_a_string = localtime;
You should learn the difference between
print localtime(),"\n";
and
print localtime()."\n";
- Next message: CowBoyCraig: "Trouble with $key to HASH when Numeric"
- Previous message: VMDD Tech - powered by sockSvr: "[ANN] j2Perl 2.0 - Allowing Java to access Perl code"
- In reply to: DGG: "interactive mode ` ` in perl script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]