perlNinny has asked for the wisdom of the Perl Monks concerning the following question:
It displays the date correctly on the screen but I get this in the file:#!/bin/perl my @keys =(Hi,There); my %views = (Hi,BYE,There,HERE); my $mdyt = system("date '+%m/%d/%Y %H:%M:%S'"); print $mdyt; foreach my $data (@keys) { print FILE $data.",".$views{$data}.",".$mdy +t."\n";}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Dateless in Denver...
by Thelonius (Priest) on Aug 11, 2006 at 16:35 UTC | |
by jwkrahn (Abbot) on Aug 11, 2006 at 22:42 UTC | |
Re: Dateless in Denver...
by jhourcle (Prior) on Aug 11, 2006 at 16:33 UTC |