On Wed, 26 Dec 2007 16:14:48 -0800, Michael G Schwern <schwern@pobox.com>
wrote:
> I don't think the extra braces are necessary here. And the disambiguating
> braces for print filehandles go on the outside. print {$mbox} $msg;
>
> - print MBOX $msg,"\n\n";
> + print ${mbox} $msg,"\n\n";
Huh? I hope you mean
+ print { $mbox } "$msg\n\n";
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.10.x on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.1 & 10.2, AIX 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org
http://www.goldmark.org/jeff/stupid-disclaimers/
Thread Previous
|
Thread Next