in reply to Using modules for Newbies
in thread The Gates of Perl are not newbie friendly.
The third line is what is throwing me, what does it do? I know it is "invoking" the module some how, but I can't fathom how (how is that for a complete idiot newbie question?)use SETI::WebStats; my $emailAddr = "wmarcy\@stny.rr.com"; my $seti = SETI::WebStats->new($emailAddr); my $unitsProcd = $seti->numResults; print "Work Units Processed = ",$unitsProcd;
Thanks for the help!
Oh, and the program actually works! I am amazed. Even though I only added one line and removed a half dozen or so that I didn't need.
On looking at my question preview mode, I am also wondering what the operator "->" is doing in the program also?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Using modules for Newbies
by mattr (Curate) on Apr 20, 2003 at 15:04 UTC | |
by Hielo (Sexton) on Apr 20, 2003 at 16:29 UTC |