Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Interpolating subroutine call in SQL INSERT INTO SELECT statement

by Anonymous Monk
on Aug 26, 2015 at 09:56 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1139992]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found