Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Interpolating subroutine call in SQL INSERT INTO SELECT statement

by Anonymous Monk
on Aug 26, 2015 at 09:56 UTC ( #1139992=note: print w/replies, xml ) Need Help??


in reply to Interpolating subroutine call in SQL INSERT INTO SELECT statement

but I'm not sure how to go about it (without splitting the INSERT statement into two parts and handling them separately). ...What I have below isn't going to work but hopefully it should give you an clear picture of what I'd like to achieve

That sounds like a good plan , do it in a way that is possible, the most obvious way, nothing wrong with that

Also see String::Interpolate/String::Interpolate::RE

And Perl Idioms Explained - ${\$obj->method} and @{[sort @list]}

  • Comment on Re: Interpolating subroutine call in SQL INSERT INTO SELECT statement

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2019-07-22 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (14 votes). Check out past polls.

    Notices?