Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Mapping list to hash is dropping list items

by Marshall (Canon)
on Mar 12, 2022 at 22:28 UTC ( [id://11142058]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    my @fileTags = map{myTrim($_)}@fileTags.
    @fileTags = uniq @fileTags;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    $x = myTrim($x);
    
    print "$x!\n"; #prints "x    !"
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-19 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found