go ahead... be a heretic | |
PerlMonks |
Re: Hidden Secrets of PERLby jbrugger (Parson) |
on Oct 12, 2006 at 05:33 UTC ( [id://577752]=note: print w/replies, xml ) | 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 :) Update: 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.
In Section
Seekers of Perl Wisdom
|
|