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

Re^3: Using grep in a scalar context

by choroba (Bishop)
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?
[Discipulus]: choroba thanks.. now i understand: like find the tresaure.. but in this case seems true: no one noticed
[Discipulus]: Happy-the-monk every Eatalian understand what ctrl+shift+tab means: we just have different names for # and @ ('cancelletto' and 'chiocciola')

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-11-21 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (297 votes). Check out past polls.

    Notices?