| Lee Goddard wrote:
| >
| > Has anyone any idea why this might appear 
| > in some perl code?
| > 
| > warn ${line};
| > 
| > Why not just $line?
| 
| Hi Lee.
| 
| No reason, except that it may be site coding standards?

Turns out the guy thought it was faster for string interpolation.
He misread Learning Perl, where (pp 44) it talks about embedded
$foo in the middle of a string "Totally ${foo}ed up" -- slower
than "totally $foo"."ed up", I guess.....

thanks
lee

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to