Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: dynamically initializing variables with perl

by busunsl (Vicar)
on Jan 07, 2003 at 07:11 UTC ( [id://224884]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @C;
    for (my $i=0; $i< $msgcount; $i++) {
     $C[$i] = param("C$i");
    }
    
  2. or download this
    my @C = map { param("C$_") } 0..$msgcount - 1;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found