koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Re: [Koha-cvs] CVS: koha/C4 Database.pm,1.6,1.7 Koha.pm


From: Andrew Arensburger
Subject: Re: [Koha-devel] Re: [Koha-cvs] CVS: koha/C4 Database.pm,1.6,1.7 Koha.pm,1.6,1.7 Output.pm,1.16,1.17 Search.pm,1.36,1.37
Date: Tue Sep 24 11:15:03 2002

On Tue, 24 Sep 2002, Dorian Meid wrote:
> Output.pm, Line 261:
> > +# FIXME - Use 'foreach my $var (...)'
>
> Not really.
> Used this before, but I need every single variable after exiting the
> loops and so hve to declare them outside the loop.

        I should have been clearer. What I really meant with that comment
is that

        my $etheme;

        foreach $etheme (...)

is more Perlish than

        my $etheme;

        foreach (...)
        {
                $etheme = $_;

-- 
Andrew Arensburger                      Actually, these _do_ represent the
address@hidden                      opinions of ooblick.com!
                        Generic Tagline V 6.01




reply via email to

[Prev in Thread] Current Thread [Next in Thread]