On Thu, Sep 08, 2005 at 01:25:18AM -0700 Christopher Spears wrote:
> I want to catch the various parts of the output of the
> date command.  Here is my script:
> 
> #!/usr/bin/perl -w
> use strict;
> 
> my $date = system("date");

with: my $date = localtime;
woks fine.

 
> What is going on?  Does this mean that nothing was
> captured?
 
hth
-- 
GĂ©rard 


-- 
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