|There's more than one way to do things|
Re: Hidden Secrets of PERLby jbrugger (Parson)
|on Oct 12, 2006 at 05:33 UTC||Need Help??|
Not a real hidden secret, and mentioned on this site before: (however i use it, since it's save for my examle): the x operator.
have a look at the following example:
As you know, this isn't safe (sql Piggybacking)
Now concider the next code example:
As you see, a neat feature of Perl :)
code adjusted as suggested by Hue-Bond
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.