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

Re: find the element position of $scalar

by    (Sexton)
on Feb 08, 2002 at 08:01 UTC ( #144061=note: print w/replies, xml ) Need Help??


in reply to find the element position of $scalar

for(my $i=0;$i<@array;$i++) { print("$array[$i] is the $i element\n"); }


The white hole.

Replies are listed 'Best First'.
Re: Re: find the element position of $scalar
by Anonymous Monk on Feb 08, 2002 at 08:41 UTC
    Thanks for the quick reply, however I need the results inclosed within the foreach statement as shown above.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-01-20 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (56 votes). Check out past polls.

    Notices?