Front page | perl.perl6.language |
Postings from February 2001
Re: JWZ on s/Java/Perl/
Thread Previous
|
Thread Next
From:
Piers Cawley
Date:
February 10, 2001 17:50
Subject:
Re: JWZ on s/Java/Perl/
Message ID:
m3r916j8ad.fsf@iest.bofh.org.uk
Simon Cozens <simon@cozens.net> writes:
> On Fri, Feb 09, 2001 at 04:14:34PM -0800, Mark Koopman wrote:
> > > sub test {
> > > my($foo, $bar, %baz);
> > > ...
> > > return \%baz;
> > > }
> > are we considering to deprecate this type of bad style
>
> What bad style?
Well, if I'm going to return a reference then I'd be inclined to do
C<my $baz = {}>, but apart from that I can see nothing wrong with it.
--
Piers
Thread Previous
|
Thread Next