how do I list modules
am 23.11.2006 23:09:36 von mmccaws2
Two questions for this mac os x 10.4 users
one how do I list all of the Net::? modules? {I was looking for
net::dns but it's not loaded}
two Is there another module that will let me query nameservers for mx,
ns, a, and cname records?
Thanks
Mike
Re: how do I list modules
am 24.11.2006 00:30:18 von Sherm Pendley
"mmccaws2" writes:
> Two questions for this mac os x 10.4 users
This ain't your father's MacPerl - The answer is the same for Mac OS X as
for any other *nix. :-)
> one how do I list all of the Net::? modules? {I was looking for
> net::dns but it's not loaded}
Have a look at:
perldoc -q "which modules are installed"
> two Is there another module that will let me query nameservers for mx,
> ns, a, and cname records?
Net::DNS
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Re: how do I list modules
am 24.11.2006 04:26:19 von mmccaws2
Sherm Pendley wrote:
> "mmccaws2" writes:
>
> > Two questions for this mac os x 10.4 users
>
> This ain't your father's MacPerl - The answer is the same for Mac OS X as
> for any other *nix. :-)
>
> > one how do I list all of the Net::? modules? {I was looking for
> > net::dns but it's not loaded}
>
> Have a look at:
>
> perldoc -q "which modules are installed"
>
> > two Is there another module that will let me query nameservers for mx,
> > ns, a, and cname records?
>
> Net::DNS
>
> sherm--
>
> --
> Web Hosting by West Virginians, for West Virginians: http://wv-www.net
> Cocoa programming in Perl: http://camelbones.sourceforge.net
thanks
I didn't really understand whether it made any difference whether or
not it was the
intel mac or the original chipset mac os. I saw that there were many
MacPerl sites that haven't been updated recently. That's why I figured
I better make sure.
again thanks
Re: how do I list modules -! script doesn"t list
am 24.11.2006 04:51:22 von mmccaws2
Sherm Pendley wrote:
> "mmccaws2" writes:
>
> > Two questions for this mac os x 10.4 users
>
> This ain't your father's MacPerl - The answer is the same for Mac OS X as
> for any other *nix. :-)
>
> > one how do I list all of the Net::? modules? {I was looking for
> > net::dns but it's not loaded}
>
> Have a look at:
>
> perldoc -q "which modules are installed"
>
> > two Is there another module that will let me query nameservers for mx,
> > ns, a, and cname records?
>
> Net::DNS
>
> sherm--
>
> --
> Web Hosting by West Virginians, for West Virginians: http://wv-www.net
> Cocoa programming in Perl: http://camelbones.sourceforge.net
Hi Sherm
I tried this
#!/usr/bin/perl
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
print "$module -- $version\n";
}
and get
Perl -- 5.8.6
but none of the perl modules listed. It must see ExtUtils::Installed
and I put another module, net::domain, included use strict; and use
warnings; in the script to see it produced an error. There are no
errors on the output. How might I change this to view the modules?
Mike
Re: how do I list modules
am 24.11.2006 05:27:38 von Sherm Pendley
"mmccaws2" writes:
> intel mac or the original chipset mac os. I saw that there were many
> MacPerl sites that haven't been updated recently.
MacPerl sites haven't been updated recently because MacPerl itself is more
or less a dead issue now. It was necessary with MacOS 9 and earlier, because
that was a drastically different environment. Mac OS X ships with standard
"vanilla" Perl.
I should note that, although a special build of Perl is no longer of any use
with Mac OS X, most (if not all) of the useful Mac-related modules that were
included with MacPerl have been carbonated at this point, and are available
through CPAN.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Re: how do I list modules -! script doesn"t list
am 24.11.2006 05:33:30 von Sherm Pendley
"mmccaws2" writes:
> Sherm Pendley wrote:
>> "mmccaws2" writes:
>>
>> Have a look at:
>>
>> perldoc -q "which modules are installed"
>>
>
> and get
>
> Perl -- 5.8.6
> but none of the perl modules listed.
That's answered in the very first paragraph of the FAQ I referred you to.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Re: how do I list modules -! script doesn"t list
am 24.11.2006 05:55:52 von mmccaws2
Sherm Pendley wrote:
> "mmccaws2" writes:
>
> > Sherm Pendley wrote:
> >> "mmccaws2" writes:
> >>
> >> Have a look at:
> >>
> >> perldoc -q "which modules are installed"
> >>
> >
> > and get
> >
> > Perl -- 5.8.6
> > but none of the perl modules listed.
>
> That's answered in the very first paragraph of the FAQ I referred you to.
>
> sherm--
>
> --
> Web Hosting by West Virginians, for West Virginians: http://wv-www.net
> Cocoa programming in Perl: http://camelbones.sourceforge.net
Your right! (as he's thinking "duh of course");
I'm taking a perl class locally, we have covered modules yet
thanks