Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Using grep in a scalar context

by choroba (Chancellor)
on Feb 06, 2013 at 13:47 UTC ( #1017436=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    
    ...
    $count_array{ join q(), @array[$_, $_ + 1] }++ for 0 .. $#array - 1;
    
    print Dumper \%count_string, \%count_array;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017436]
help
Chatterbox?
[Corion]: But currently, most of the modules are web-related and I don't like to publish two web articles in a row
[Corion]: Maybe I should do the Filter::Simple release on the next weeked - this would give me one more article to milk from this theme

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-04-24 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (437 votes). Check out past polls.