develooper Front page | perl.perl5.porters | Postings from December 2007

Re: [PATCH] docs more open() and $_ related entries

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
December 27, 2007 03:22
Subject:
Re: [PATCH] docs more open() and $_ related entries
Message ID:
20071227121511.6809f8bc@pc09.procura.nl
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About