suggus has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/local/bin/perl5 print "Content-type: text/html\n\n"; open(HANDLE,"script_integration_records"); while (<HANDLE>) { @temp1 = split(/:/); $domain = unpack ("A4", $temp1[40]); if ($domain eq "ATM") { if ($temp1[36] eq "In Production") { print "$temp1[38]\n"; # This is my break point...I think here's +where I need help } } } close(HANDLE);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Calculating the average of a column in a flat-file database
by Masem (Monsignor) on Oct 26, 2001 at 02:03 UTC | |
by suggus (Sexton) on Oct 26, 2001 at 02:47 UTC | |
by Hofmator (Curate) on Oct 26, 2001 at 13:03 UTC | |
|
Re: Calculating the average of a column in a flat-file database
by gryphon (Abbot) on Oct 26, 2001 at 02:55 UTC | |
by Hofmator (Curate) on Oct 26, 2001 at 13:34 UTC | |
by suggus (Sexton) on Oct 26, 2001 at 02:58 UTC |