Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Using perldoc

by Ajore (Initiate)
on Jul 10, 2013 at 09:16 UTC ( #1043429=perlquestion: print w/ replies, xml ) Need Help??
Ajore has asked for the wisdom of the Perl Monks concerning the following question:

Dear perlmonks, i am using macbookpro and just begining to learn perl. Typing " perldoc perlnumber" in the terminal doesn't work. Same is the issue with "perldoc" typing. It seems the issue is due to mac, but i dont know how to solve it. Thanks in advance for your input.

Comment on Using perldoc
Re: Using perldoc
by marto (Bishop) on Jul 10, 2013 at 09:20 UTC

    "doesn't work"

    Does anything happen? Does anything get displayed on screen? Are you using the system perl (perl which ships with OSX)? Do you have xcode/dev tools installed? Your post doesn't give much to work with, see How do I post a question effectively?.

Re: Using perldoc
by karlgoethebier (Priest) on Jul 10, 2013 at 09:27 UTC

    Do you get -bash: /usr/bin/perldoc: Permission denied?

    Edit: fixed link

    If so, please see ...trouble using the 'perldoc'...

    Update:

    BTW, for me it works.

    Karls-Mac-mini:monks karl$ perldoc perlnumber PERLNUMBER(1) User Contributed Perl Documentation PERLN +UMBER(1) NAME perlnumber - semantics of numbers and numeric operations in Per +l ... more POD stuff...

    Again the magic mantra: "I've-Been-Told-To-Provide-More-Information"

    Repeat this 10.000 times ;-)

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

Re: Using perldoc
by kcott (Abbot) on Jul 11, 2013 at 06:22 UTC

    G'day Ajore,

    Welcome to the monastery.

    "Dear perlmonks, i am using macbookpro and just begining to learn perl. Typing " perldoc perlnumber" in the terminal doesn't work. Same is the issue with "perldoc" typing. It seems the issue is due to mac, but i dont know how to solve it. Thanks in advance for your input."

    I have Mac OS X 10.7.5. This works for me (using Terminal):

    $ perldoc perlnumber
    PERLNUMBER(1)         User Contributed Perl Documentation        PERLNUMBER(1)
    
    
    
    NAME
           perlnumber - semantics of numbers and numeric operations in Perl
    
    SYNOPSIS
               $n = 1234;              # decimal integer
    ...
    

    So, it would not appear to be a generic Mac issue. If you follow-up with the information requested above, you'll probably get a better answer.

    -- Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1043429]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-12-25 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls