Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: concatenating variables

by brx (Pilgrim)
on Jul 31, 2012 at 17:37 UTC ( #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
Node Status?
node history
Node Type: note [id://984633]
help
Chatterbox?
[marioroy]: Wow. It's cool seeing Github coments "Update Monster.pm, Create Wild_hairs, Create alternate- PurpleOnGreen..., Then a location, Create Aleenia. Amazing, really. Thank you for sharing.
Discipulus when naming is clear and you know how to arrange the data, then coding it is a mere writing work
[Lady_Aleena]: marioroy, welcome to my insanity. 8)
marioroy likes Dragod, an unbelievably huge dragon. It is bigger than any planet. Wow.
[Lady_Aleena]: marioroy, not my creation, it was submitted a long long time ago when I had submission forms with a form script I can't remember the name of off the top of my head.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2017-05-29 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?