Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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
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 contemplating the Monastery: (5)
As of 2021-05-06 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (69 votes). Check out past polls.

    Notices?