Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Get most recent data based on a date from an array of hashes.

by tybalt89 (Monsignor)
on Jan 18, 2022 at 18:18 UTC ( [id://11140575]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
      { my @fields = split /-/, $_->{Date}; join '',  @fields[2,0,1] } @$d
    +ata;
    
    use Data::Dump 'dd'; dd $mostrecent;
    
  2. or download this
    { acc => 1111, Color => "green", Date => "08-06-2022", Step => "Platfo
    +rm" }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11140575]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-19 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found