Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^6: Perl's feature to determine, in current point of loop, that this is the last one?

by ikegami (Patriarch)
on Jan 25, 2022 at 14:46 UTC ( #11140852=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $inputs = sub { \@_ }->( 0, $x, $x );
    
    for my $v (@$inputs) {
       say \$v;
    }
    
  2. or download this
    SCALAR(0x559bb5b21960)
    SCALAR(0x559bb5b33228)
    SCALAR(0x559bb5b33228)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2022-07-01 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (99 votes). Check out past polls.

    Notices?