Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Using 'keys' on a list

by choroba (Archbishop)
on Jun 29, 2021 at 12:41 UTC ( #11134437=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %h = f();
    say for keys %h;
    
  2. or download this
    my $i;
    say for grep ++$i % 2, f();
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-05-20 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (75 votes). Check out past polls.

    Notices?