in reply to Re: Clean out da hash...
in thread Clean out da hash...
I thought
would work, but it's not. And yes, I am using strict. The code is a bit long, but an abridged version is:%hash = ();
The &find_start() looks throught the 6000 lines of text, and decides which line to start grabbing data, and which line to stopt at, based on the value of $set. I thought maybe I was grabbing the wrong stuff, but everything "adds up". Pun intended.Server Error (Error ID 8735462a2048911)use strict; use warnings; my %hash; my @sets = qw(set_a set_b); foreach my $set ( @sets ) { &find_start($set); #defines start and end points to grab data &fill_hash(); # fill 'er up &print_hash(); #print out &clean_hash(); #clean it out }
An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Clean out da hash...
by ysth (Canon) on Feb 12, 2004 at 08:53 UTC | |
by GaijinPunch (Pilgrim) on Feb 12, 2004 at 09:23 UTC | |
by leriksen (Curate) on Feb 12, 2004 at 09:43 UTC | |
by ysth (Canon) on Feb 12, 2004 at 09:27 UTC | |
Re: Clean out da hash...
by Abigail-II (Bishop) on Feb 12, 2004 at 09:57 UTC | |
Re: Re: Re: Clean out da hash...
by boo_radley (Parson) on Feb 12, 2004 at 15:12 UTC |
In Section
Seekers of Perl Wisdom