Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

perldoc and perl wrapper

by rhumbliner (Sexton)
on Oct 23, 2013 at 20:44 UTC ( #1059347=perlquestion: print w/replies, xml ) Need Help??
rhumbliner has asked for the wisdom of the Perl Monks concerning the following question:

i recently installed the newest version of mac osx (maverick) which did a clean install of perl. as usual, perldoc no longer works without setting the execute bits. i've always been mystified by this". reading the contents of /usr/bin/perldoc it says

The contents of this script should normally never run! The perl wrapp +er should pick the correct script in /usr/bin by appending the appropriat +e version. You can try appending the appropriate perl version number. See perlma +cosx.pod for more information about multiple version support in Mac O +S X.

what is this wrapper that perldoc refers too? why do i have to set the execute bits to get this to work?


Replies are listed 'Best First'.
Re: perldoc and perl wrapper
by Anonymous Monk on Oct 23, 2013 at 22:39 UTC

    what is this wrapper that perldoc refers too?

    Presumably /usr/bin/perl or whatever (`which perl`)

    The same way that file you're reading isn't the real perldoc, the appleness folks have one for perl which isn't the real perl

    Not having appleness I cant say more than that, other than that all this is something the appleness folks add and it isn't part of perl

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1059347]
Approved by keszler
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2017-12-18 02:15 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (466 votes). Check out past polls.