[Perl-unix-users] Need help with my code
by James T. other posts by this author
Jun 18 2009 7:26PM messages near this date
[Perl-unix-users] (no subject)
|
[Perl-unix-users] Net::Pcap on Solaris 10
Hi all,
This program 'info.pl' takes 2 different input file format ( file1.txt or file2.txt) and dis
play information about the Boot and the Boot Processor.
It works file file 'file1.txt' as it get some information on the "BOOT INFORMATION" but when
running it with 'file2.txt' , it only get
information on "BOOT PROCESSOR INFORMATION" but not the "BOOT INFORMATION"
Can someone tell me what's wrong with my &bootInfo subroutine ?
I think the problem might in line 43
while ( $idx <= $#{$data} and $data-> [$idx] !~ m/(The current root cell is)|AutoBoot/)
but I am not sure.
Thanks
J
|