Jerald Sheets wrote:
> On Mar 4, 2009, at 7:38 AM, Gunnar Hjalmarsson wrote:
>> Jerald Sheets wrote:
>>>
>>> In your code you can specify the directory location of the pm:
>>> use lib '/path/to/pm';
>>
>> That makes no sense. It would cause Perl to look for
>>
>>/path/to/pm/XML/Handler/YAWriter
Jerald Sheets wrote:
Gunnar Hjalmarsson wrote:
Jerald Sheets wrote:
In your code you can specify the directory location of the pm:
use lib '/path/to/pm';
That makes no sense. It would cause Perl to look for
/path/to/pm/XML/Handler/YAWriter.pm
and the module would not be found.
Note t
Note that I took that example from a functioning program I have in the
CNN environment.
You say it doesn't work, I have six million viewers who say it does.
enjoy.
--j
On Mar 4, 2009, at 7:38 AM, Gunnar Hjalmarsson wrote:
Jerald Sheets wrote:
In your code you can specify the directory
Jerald Sheets wrote:
In your code you can specify the directory location of the pm:
use lib '/path/to/pm';
That makes no sense. It would cause Perl to look for
/path/to/pm/XML/Handler/YAWriter.pm
and the module would not be found.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bi
Keep in mind that perl only searches his known paths for perl
modules. (/usr/lib in Linux, /Library/Perl in mac, etc.)
In your code you can specify the directory location of the pm:
use lib '/path/to/pm';
But then it'd need to be run from precisely the same place each and
every time no mat
sys...@wowway.com wrote:
I'm trying to use an XML pretty printer called xmlpretty ...
http://groups.google.com/group/comp.lang.perl.misc/browse_thread/thread/5407c504591e0c4e
Do not multi-post!!
http://lipas.uwasa.fi/~ts/http/crospost.html
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi
2009/3/3 :
> I'm trying to use an XML pretty printer called xmlpretty on UNIX that
> I downloaded from the net. xmlpretty is a simple perl program that
> uses a module called YAWriter.pm that came with the package. So
> xmlpretty has:
>
> use XML::Handler::YAWriter;
>
> However, with xmlpretty a
I'm trying to use an XML pretty printer called xmlpretty on UNIX that
I downloaded from the net. xmlpretty is a simple perl program that
uses a module called YAWriter.pm that came with the package. So
xmlpretty has:
use XML::Handler::YAWriter;
However, with xmlpretty and YAWriter.pm in the same
I'm trying to use an XML pretty printer called xmlpretty on UNIX that
I downloaded from the net. xmlpretty is a simple perl program that
uses a module called YAWriter.pm that came with the package. So
xmlpretty has:
use XML::Handler::YAWriter;
However, with xmlpretty and YAWriter.pm in the same
On Sat, 14 Jan 2006, John Meyer wrote:
>
> Duh, silly me, forgot the command.
> BTW, what's the difference when you run cpan as user v as root. I
> assume that the modules are only installed locally then, right.
Modules can be installed locally, but if you have access, they are best
installed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Duh, silly me, forgot the command.
BTW, what's the difference when you run cpan as user v as root. I
assume that the modules are only installed locally then, right.
Owen Cook wrote:
> On Sat, 14 Jan 2006, John Meyer wrote:
>
> Yes, but that seems to
On Sat, 14 Jan 2006, John Meyer wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi, Is there anything like the CPAN program on Linux that lets you
> search for and download perl modules for Linux?
Yes, but that seems to be a bit of a strange question.
As a user, what happens when
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi, Is there anything like the CPAN program on Linux that lets you
search for and download perl modules for Linux?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDy
On Thursday, August 15, 2002, at 01:02 , John Almberg wrote:
> Thanks, that worked. The path is:
>
> /usr/lib/perl5.6/site-perl/5.6.1/Mail/Mailer.pm
>
> Now here's the funny part . . .
>
> running 'perl5 test.cgi' works, but running 'perl test.cgi' yields the
> error. I'm guessing that these two
]]
# Sent: Thursday, August 15, 2002 4:02 PM
# To: [EMAIL PROTECTED]
# Subject: RE: Finding modules . . .
#
#
# Thanks, that worked. The path is:
#
# /usr/lib/perl5.6/site-perl/5.6.1/Mail/Mailer.pm
#
# Now here's the funny part . . .
#
# running 'perl5 test.cgi' works, but running
On Thu, 2002-08-15 at 15:39, John Almberg wrote:
> Luckily this is a beginning perl list, because I'm sure this is a real
> beginners question . . .
>
> I believe I have the Mail::Mailer module installed on my system because when
> I run 'perldoc Mail::Mailer' I get the documentation. However, wh
have root
permission.)
-- John
-Original Message-
From: John Pitchko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 3:48 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Finding modules . . .
Try find / -name Mailer.pm
It should tell you where it is.
Try find / -name Mailer.pm
It should tell you where it is.
John Pitchko
Data Services
Saskatchewan Government Insurance
>>> "John Almberg" <[EMAIL PROTECTED]> 08/15/02 01:39pm >>>
Luckily this is a beginning perl list, because I'm sure this is a real
beginners question . . .
I believe I have
Luckily this is a beginning perl list, because I'm sure this is a real
beginners question . . .
I believe I have the Mail::Mailer module installed on my system because when
I run 'perldoc Mail::Mailer' I get the documentation. However, when I try to
'use' the module, I get the following error mes
19 matches
Mail list logo