Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: concatenating variables

by brx (Pilgrim)
on Jul 31, 2012 at 17:37 UTC ( [id://984633]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %names;
    $names{$linename.$counter} = "use pricedb;" ;
    
  2. or download this
    #my $line1 = "use pricedb;";
    
    ...
    for my $counter (1 .. 10) {
        my $rowsaffected = $dbh ->do($lines[$counter]);
    #...
    
  3. or download this
    
    for my $line (@lines) {
        my $rowsaffected = $dbh ->do($line);
    #...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-25 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found