🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #884

Re: perl module

#884
From: Andrew Rich
Date: Mon, 27 Oct 2008 21:30
43 lines
2247 bytes
Ellipsoid.pm:  my $obj = Geo::Ellipsoids->new();
Ellipsoid.pm:=head2 new
Ellipsoid.pm:The new() constructor may be called with any parameter that is 
appropriate to the set method.
Ellipsoid.pm:  my $obj = Geo::Ellipsoid->new();
Ellipsoid.pm:sub new {


"Andrew Rich" <vk4tec@people.net.au> wrote in message 
news:4906325a_4@news.peopletelecom.com.au...
> Hello
>
> Trying to get something that was already working, working again
>
> Can't locate object method "new" via package "Geo::Ellipsoid" (perhaps you 
> forgot to load "Geo::Ellipsoid"?) at ./sbs1_just_planes.pl line 169, 
> <GEN0> line 45.
>
> And yet my perl script has this
>
> #!/usr/bin/perl
> use Net::Telnet;
> use DBI;
> use Geo::Ellipsoid;
>
> path looks ok
>
> linux-yn9v:/maint/scripts # echo $PATH
> /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr
> ib/mit/sbin:/usr/lib/perl5/vendor_perl/5.10.0/:/usr/lib/perl5/vendor_perl/5.10.0/Geo/
>
> linux-yn9v:/usr/lib/perl5/vendor_perl/5.10.0/Geo # ls -lrt
> total 36
> -rwxrwxrwx 1 root root 15480 Oct 28 07:07 Ellipsoid.pm
> -rwxrwxrwx 1 root root   924 Oct 28 07:16 Constants.pm
> -rwxrwxrwx 1 root root 14289 Oct 28 07:16 Functions.pm
>
> Lost
>
> Andrew
>
>
> 
Technical Details
Message-ID: <490632f8_9@news.peopletelecom.com.au>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.waia.asn.au!news.peopletelecom.com.au!not-for-mail
References: <4906325a_4@news.peopletelecom.com.au>

Show Full Headers
Complete Article Headers
X-Google-Thread: 102983,91f6209a66e3c510
X-Google-Attributes: gid102983,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrew Rich" <vk4tec@people.net.au>
Newsgroups: aus.computers.linux
References: <4906325a_4@news.peopletelecom.com.au>
Subject: Re: perl module
Date: Tue, 28 Oct 2008 07:30:19 +1000
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-RFC2646: Format=Flowed; Response
Message-ID: <490632f8_9@news.peopletelecom.com.au>
X-Original-NNTP-Posting-Host: news.people.net.au
NNTP-Posting-Host: news.people.net.au
X-Trace: news.waia.asn.au 1225148884 202.154.92.95 (28 Oct 2008 08:08:04 +0900)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.waia.asn.au!news.peopletelecom.com.au!not-for-mail