Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Assigning multiple lines into first element of array

by tybalt89 (Prior)
on Mar 01, 2020 at 08:08 UTC ( #11113602=note: print w/replies, xml ) Need Help??


in reply to Re^2: Assigning multiple lines into first element of array
in thread Assigning multiple lines into first element of array

...

my @counts = map s/.*\n//r =~ tr/A-Z//, @array; print "counts: @counts\n";

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2021-08-04 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (41 votes). Check out past polls.

    Notices?