how could i get perl module in unix?

S

Sherm Pendley

NCS+ said:
i'm a stater in Perl.

A great place to start is here:

<http://learn.perl.org>

Also, if you haven't done so already, please read the posting guidelines for
this group. They appear here frequently.
when wrote the code

use LWP 5.64

an error occured.

Naturally - that's not how you use "use". Have a look at the docs for the
function you're using:

perldoc -f use

The questions of how to get modules, how to find out what ones you have, and
how to install them are all answered in the FAQ. Have a look at:

perldoc -q module

sherm--
 
T

Tony Curtis

On 13 Jan 2005 18:42:45 -0800,
i'm a stater in Perl. when wrote the code
use LWP 5.64
an error occured.

But you don't feel like sharing the error text with us?

$ perl -e 'use LWP 5.64'
$

Not sure what you're trying to do, but it doesn't generate an
error. There's more code isn't there? Please show us a
small program that generates this error, and the output from a
run of it. (Also, platform you're using, perl version).
 
S

Sherm Pendley

Sherm said:
Naturally - that's not how you use "use".

Scratch that part. You *can* specify a minimum version number for a module -
I'd forgotten that. Sorry, my mistake.

sherm--
 
A

A. Sinan Unur

Scratch that part. You *can* specify a minimum version number for a
module - I'd forgotten that. Sorry, my mistake.

OTOH, the missing semi-colon at the end of the line above would cause
problems if it appeared in a source file.

The OP would benefit from reading the posting guidelines posted here
regularly in so that he can better describe the context in which he is
encountering this problem.

Sinan.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,166
Messages
2,570,901
Members
47,442
Latest member
KevinLocki

Latest Threads

Top