![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Dynamic SQL Bind valuesby ChemBoy (Priest) |
on Apr 23, 2006 at 18:09 UTC ( [id://545143]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Cool Uses for Perl
|
|