Re: OS X and perldoc



In article <m2lknxbb2y.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sherm Pendley <sherm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Justin C <justin.0610@xxxxxxxxxxxxxx> writes:

I've recently bought a Mac, my first, and I'm still finding my way
around it. I'm also still finding my way around Perl; while I don't have
a lot of chance to use it I read a lot here and hope to pick things up.
Quite often questions are posted and the OP is directed to perldoc and
out of interest I follow. That was all well and good on my Linux box;
it's not so good here. There was a recent reference to perldoc perlop,
I've not read it all and I was interested in the answer to the OP's
question. It seems that there is only a partial perldoc install on this
machine, "perldoc -f" works, perldoc -m works, perldoc perldoc and
perldoc perlop don't (I can't think of others to try ... not without
perldoc perldoc anyway!).

Where can I go for information on how to fix this install?

Many of Perl's pods are included in the 'DevDocumentation.pkg' sub-package
of the Xcode install.

Thanks Sherm, and everyone else. I haven't got around to checking out
the Xcode stuff yet; I was assuming that, as I had perl, I'd have the
documentation if the install was OK.

There I go making assumptions again.

And I've just noticed this newsreader isn't appending my .sig. Oh the
trial of a new OS!

#!/usr/bin/perl
use warnings ;
use strict ;

open SIG "<.sig" or die ;
while (<SIG>) {
print $_ . "\n" ;
}
close SIG ;

And what's more, the # is in an awkward place and so is the \, why
didn't I just get another ThinkPad mumble mumble...
.



Relevant Pages