View Full Version : [ubuntu] starting programming trouble

September 26th, 2009, 02:46 AM
I am new to ubuntu and very new to Perl. I was just starting to code this:

@lines = `perldoc -u -f atan2`;

I then tried running it and it said "You need to install the perl -doc package to use this program."
I tried searching the net for it and the only things that came up were modules. Do I need to download one of those for this to work?? Also do I need to download anything else?? I tried simpler ones like just printing a line to the screen and that worked.

September 26th, 2009, 02:49 AM
I don't know much about perl, but you can install the perl doc package by opening a terminal and installing with

sudo apt-get install perl-doc

September 26th, 2009, 04:57 PM
Hey you know enough to help me with that problem!! It worked, thanks a ton!