Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: how to print out side of foreach loop($k1 $a{$k1}) ?

by kcott (Bishop)
on May 29, 2013 at 06:05 UTC ( #1035782=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -E '
        my %a=();
    ...
    FIRST
    SECOND
    THIRD
    
  2. or download this
    $ perl -Mstrict -Mwarnings -E '
        my @items_to_print_outside_loop;
    ...
    FIRST
    SECOND
    THIRD
    
  3. or download this
    $ perl -Mstrict -Mwarnings -E '
        sub print_outside_loop { print "@_\n" }
    ...
    FIRST
    SECOND
    THIRD
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2022-01-25 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (67 votes). Check out past polls.

    Notices?