Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to make unique entries

by hv (Prior)
on Jun 02, 2023 at 00:12 UTC ( [id://11152596]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %hash;  # somewhere before you start to loop over the data
    ...
    # within the loop over your data
    ...
      label => $label,
    };
    $hash{$signature} = $structure;  # save it
    
  2. or download this
    for my $signature (keys %hash) {
      my $structure = $hash{$signature};
      printf "%s|%s\n%s\n%s\n",
    ...
          $structure->{sequence},
          $structure->{label};
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-15 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found