CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [richsark] need another set of eyes on my perl script: Edit Log



FishMonger
Veteran / Moderator

May 4, 2009, 9:17 AM


Views: 4809
Re: [richsark] need another set of eyes on my perl script


Quote
Use of uninitialized value $subnettype[3] in hash element at fish3.pl line 91, <$in> line 1.


That means that array element doesn't have a value or you could say that its value is undef, which can not be assigned as a hash key.

The error message is referring to this line:
$counts{$subnettype[3]}++;

In the code I posted, that would be line 76 or 85, but the error message says line 91. What modifications to the script did you make?

What's in line 1 of your file and how does it differ from the other lines?


(This post was edited by FishMonger on May 4, 2009, 9:21 AM)


Edit Log:
Post edited by FishMonger (Veteran) on May 4, 2009, 9:21 AM
Post edited by FishMonger (Veteran) on May 4, 2009, 9:21 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives