Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984633]
[cbeckley]: I have several questions about it's future development. But it seems like a lot of code to put in a sopw.
[cbeckley]: Should I put the module and example calling code in cufp, and then ask questions in sopw?
[haukex]: You can put it in SOPW, but use <readmore> tags
[haukex]: Also you might want to label it "code review"
[haukex]: Unless you have specific questions, in which case SSCCE's are much better
[cbeckley]: Excellent, thank you.

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-03-24 15:04 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (304 votes). Check out past polls.