For Quality purpouses, Ajey Kulkarni 's mail on Saturday 24 January 2004 17:52 
may have been monitored or recorded as:

> hi,.
hi
> i would like to quickly append a string to a variable.

> open NEWFH, "> $filename.new" or die "new procmailrc err";
> where $filename has /tmp/xyz
>
> Anything really silly here??

Nothing I didnt do wrong at least a thousand times:

open NEWFH, "> $filename".".new" or die "new procmailrc err";

will do it.
------------
perldoc perlop:
Gory details of parsing quoted constructs

       When presented with something that might have several dif-
       ferent interpretations, Perl uses the DWIM (that's "Do
       What I Mean") principle to pick the most probable inter-
       pretation.  This strategy is so successful that Perl pro-
       grammers often do not suspect the ambivalence of what they
       write.  But from time to time, Perl's notions differ sub-
       stantially from what the author honestly meant.
-------------

This is one of the latter cases.

Wolf


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to