Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Why does this core? or How am I being a bonehead

by stephen (Priest)
on Mar 15, 2001 at 21:57 UTC ( [id://64829]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Why does this core? or How am I being a bonehead
in thread Why does this core? or How am I being a bonehead

Brother SparkeyG...

How about this? (Minor change)

my @bigArr = (); foreach my $record ( @dataArr ) { foreach my $line ( &ParseRecur($record->[3], $base, $start, $stop) + ) { push(@bigArr, [ @$record[0, 1, 2], $line, @$record[4] ]); } }
<PEDANTIC>
As a general principle: using counting variables like $place can increase program complexity unnecessarily... if you're building a list it's best to use push.

In the same spirit, I eliminated @date, since it's only used in one place.
</PEDANTIC>

stephen

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://64829]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.