in reply to Using perldoc

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