[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

Andrew Arensburger arensb+koha-devel at ooblick.com
Tue Sep 24 11:15:03 CEST 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
arensb at ooblick.com                      opinions of ooblick.com!
                        Generic Tagline V 6.01





More information about the Koha-devel mailing list