Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Seti stats

by Hielo (Sexton)
on Apr 17, 2003 at 20:31 UTC ( #251330=note: print w/ replies, xml ) Need Help??


in reply to Seti stats

OK, I am a complete newbie, reading everythign I can't ge t my hands on and thought this would be a good palce to start (as I am a SETI buff), on running this (and entering my email address) this is what I get (with the -w modifier).

C:\Perl\snips>perl -w setistats.pl Possible unintended interpolation of @stny in string at setistats.pl l +ine 6. Name "main::stny" used only once: possible typo at setistats.pl line 6 +. Use of uninitialized value in substitution (s///) at setistats.pl line + 15. Use of uninitialized value in substitution (s///) at setistats.pl line + 16. Use of uninitialized value in substitution (s///) at setistats.pl line + 17. Use of uninitialized value in scalar chomp at setistats.pl line 21. Use of uninitialized value in pattern match (m//) at setistats.pl line + 22. Use of uninitialized value in string at setistats.pl line 23. Use of uninitialized value in pattern match (m//) at setistats.pl line + 24. Use of uninitialized value in string at setistats.pl line 25. Use of uninitialized value in pattern match (m//) at setistats.pl line + 26. Use of uninitialized value in string at setistats.pl line 27. Use of uninitialized value in pattern match (m//) at setistats.pl line + 28. Use of uninitialized value in concatenation (.) or string at setistats +.pl line 2 9. Use of uninitialized value in pattern match (m//) at setistats.pl line + 30. Use of uninitialized value in string at setistats.pl line 31. Use of uninitialized value in string at setistats.pl line 32. Use of uninitialized value in string at setistats.pl line 33. Use of uninitialized value in pattern match (m//) at setistats.pl line + 34. Use of uninitialized value in pattern match (m//) at setistats.pl line + 36. Seti stats () Results: Tot CPU Time: Avg Work Time: Last Result: Rank: / (Peers ) Use of uninitialized value in concatenation (.) or string at setistats +.pl line 4 6. % Position:
-- Is it something simple i am doing wrong? Any help would be appreciated.


Comment on Re: Seti stats
Download Code
Re: Re: Seti stats
by Mr. Muskrat (Abbot) on Apr 17, 2003 at 21:22 UTC

    I recommend using vek's SETI::WebStats instead. It makes writing a Seti@home stats script so much easier.

    From the synopsis:

    use SETI::WebStats; my $emailAddr = "foo\@bar.org"; my $seti = SETI::WebStats->new($emailAddr); my $ranking = $seti->rank; my $unitsProcd = $seti->numResults; my $userInfo = $seti->userInfo; for (keys(%$userInfo)) { print $_, "->", $userInfo->{$_}, "\n"; }

      Thanks for taking the time to point it out, seems there are a ton of resources available to us.
      I am still figuring out how to install packages, what i can use for an IDE and the like. If you have any pointers, they would be appreciated.
      I have the O'reilly books and am getting through "Learning Perl", it is a fun read, not the dry tome I expected.
      Thanks again! Best regards, Bill

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://251330]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2014-08-21 15:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (136 votes), past polls