Re: Problem with runaway format

2007-07-04 Thread Tom Phoenix
On 7/4/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: >> foreach my $user (keys %tickets) { >> foreach my $env (keys %{ $tickets{$user} }) { >> foreach my $tikID (keys %{ $tickets{$user}{$env} }) { >> foreach my $subject (keys %{ >> $tickets{$user}{$

Re: Problem with runaway format

2007-07-04 Thread Mathew Snyder
Tom Phoenix wrote: > On 7/2/07, Mathew <[EMAIL PROTECTED]> wrote: > >> foreach my $date (@searchDate) { >> while (my $ticket = $tix->Next) { > > Seeing this worries me. I don't know enough about what's going on to > tell whether it's wrong or not, but it looks wrong. When the outer > loop

Re: Problem with runaway format

2007-07-04 Thread Mathew Snyder
Tom Phoenix wrote: > On 7/2/07, Mathew <[EMAIL PROTECTED]> wrote: > >> foreach my $date (@searchDate) { >> while (my $ticket = $tix->Next) { > > Seeing this worries me. I don't know enough about what's going on to > tell whether it's wrong or not, but it looks wrong. When the outer > loop

Re: Problem with runaway format

2007-07-02 Thread Mathew
Tom Phoenix wrote: > On 7/2/07, Mathew <[EMAIL PROTECTED]> wrote: > >> foreach my $date (@searchDate) { >> while (my $ticket = $tix->Next) { > > Seeing this worries me. I don't know enough about what's going on to > tell whether it's wrong or not, but it looks wrong. When the outer > loop

Re: Problem with runaway format

2007-07-02 Thread Tom Phoenix
On 7/2/07, Mathew <[EMAIL PROTECTED]> wrote: foreach my $date (@searchDate) { while (my $ticket = $tix->Next) { Seeing this worries me. I don't know enough about what's going on to tell whether it's wrong or not, but it looks wrong. When the outer loop goes on to the second iteration,

Re: Problem with runaway format

2007-07-02 Thread Mathew
Tom Phoenix wrote: > On 7/1/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: > >> The problem didn't surface until I went from using the %tikSubj hash >> seen near >> the top of the code snippet to a multi-level hash. But then, using >> %tikSubj >> presents its own bug for some reason. > > One trick

Re: Problem with runaway format

2007-07-02 Thread Mathew
kens wrote: > On Jul 1, 5:40 am, [EMAIL PROTECTED] (Mathew Snyder) wrote: >> I have a script which places data 4 levels deep in a HoHoHoH. It grabs >> tickets >> in our ticket system using the systems API and places attributes about each >> piece of activity into the hash. The has is called %tick

Re: Problem with runaway format

2007-07-02 Thread Tom Phoenix
On 7/1/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: The problem didn't surface until I went from using the %tikSubj hash seen near the top of the code snippet to a multi-level hash. But then, using %tikSubj presents its own bug for some reason. One tricky bit about using formats is that the v

Re: Problem with runaway format

2007-07-02 Thread kens
On Jul 1, 5:40 am, [EMAIL PROTECTED] (Mathew Snyder) wrote: > I have a script which places data 4 levels deep in a HoHoHoH. It grabs > tickets > in our ticket system using the systems API and places attributes about each > piece of activity into the hash. The has is called %tickets. It looks lik

Re: Problem with runaway format

2007-07-01 Thread Mathew
:D Funny you should say that... Actually, all the data is being pulled in from a database already. Keep up with my goings on at http://theillien.blogspot.com Ken Foskey wrote: > On Sun, 2007-07-01 at 05:40 -0400, Mathew Snyder wrote: >> I have a script which places data 4 levels deep in a HoHoHo

Re: Problem with runaway format

2007-07-01 Thread Ken Foskey
On Sun, 2007-07-01 at 05:40 -0400, Mathew Snyder wrote: > I have a script which places data 4 levels deep in a HoHoHoH. It grabs > tickets > in our ticket system using the systems API and places attributes about each > piece of activity into the hash. The has is called %tickets. It looks like >