Actually in this case it logically doesn't matter when they get eval'd 
(other than the trivial ms of eval'ing twice if I call and print 
the string and it's not eval'd at assignment), but you're right, 
it's easier with single quotes.

At Thursday, 7 February 2002, you wrote:

>On Thu, 7 Feb 2002, John wrote:
>
>> if ( $file =~ m#${templatedata}[\\/]usbank[\\/]piper_news# )
>> {
>>     $str = "UCM::ucmPiperNewsDB( \"$file\", \"INTERNET_\" . uc( $env
>> ), $script )";
>> }
>> elsif ( $file =~ 
>m#${templatedata}[\\/]commercial_business[\\/]powertrack_news_article#
>> )
>> {
>>     $str = "UCM::dbutil::ucmPowerTrackNewsDB( \"$file\", \"INTERNET_\"
>> .. uc( $env ) . \"_NEWS\", $script )";
>> }
>
>You probably don't want double quotes around your strings to be 
eval'd, if
>you don't mean for variables to interpolate here (rather than when 
it gets
>executed).








-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to