ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-unix-users
perl-unix-users
[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







      

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved