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

Re^2: Dynamic SQL Bind values

by ChemBoy (Priest)
on Apr 23, 2006 at 18:09 UTC ( #545143=note: print w/replies, xml ) Need Help??

in reply to Re: Dynamic SQL Bind values
in thread Dynamic SQL Bind values

Actually, it can be made to work by adding a + to the beginning: @{shift} treats "shift" as a string, and looks for a variable named @shift (which would—obligatory plug—be caught by use strict 'vars'), but @{+shift} forces it to use the keyword shift, which is what you were expecting it to do.

If God had meant us to fly, he would *never* have given us the railroads.
    --Michael Flanders

Replies are listed 'Best First'.
Re^3: Dynamic SQL Bind values
by blogical (Pilgrim) on Apr 23, 2006 at 23:25 UTC
    Danke chemboy.

    "One is enough. If you are acquainted with the principle, what do you care for the myriad instances and applications?"
    - Henry David Thoreau, Walden

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://545143]
[Discipulus]: :=(
[perldigious]: I watched some video on YT awhile back with auto-subtitle on and the speaker had a very thick cockney sort of English accent... hillarity ensued in the subtitles.
[Discipulus]: IHAA=I hate acronyms anyway
[perldigious]: If you want a linguistic adventure...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2017-06-23 16:44 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (552 votes). Check out past polls.