in reply to Re^3: check for date and time
in thread check for date and time

#!/usr/bin/perl use XML::Simple; @files = `ls`; use XML::Parser; foreach $input_file (@files){ my $xml_parser = XML::Simple->new(); my $data = $xml_parser->XMLin($input_file); my $date = $data->{'root'}->{'date'}; my $time = $data->{'root'}->{'time'}; }
How to store only one date file which has large date and time

Replies are listed 'Best First'.
Re^5: check for date and time
by colwellj (Monk) on Feb 28, 2010 at 23:03 UTC
    What have you tried?
    If you want to reference the date and time you could look at a structure of arrays or if you want to search by date, hashes.
    Most of the monks here will be happier to help if you show what you tried.