05-14-2009
Thanks all for your replies.
I installed Simple.pm on my machine. I have the admin rights on my desktop.
I used the command yogesh mentioned. For the options i didnt know answers to, i just ressed enter. Finally i got
commit: wrote C:\Perl\lib\CPAN\Config.pm
I'm thinking it means that it is installed
I also used the command that yogesh mentioned to check if it is installed. I got the following
C:\>perl -e 'use XML::Simple;'
Can't find string terminator "'" anywhere before EOF at -e line 1.
C:\>perl -e "use XML::Simple;"
C:\>
I changed single quotes to double quotes and then it went to the prompt again. So i'm guessing all is OK.
I tried running my program again and the error is the same
Can't locate object method "new" via package "XML::Simple" (perhaps you forgot t
o load "XML::Simple"?) at dump.pl line 9.
Dont know what i missed now. Appreciate help.
10 More Discussions You Might Find Interesting
1. Tips and Tutorials
So you want to learn a unix scripting language that you'll be able to use in any situation? Perl is your answer !
This is a little intro to installing CPAN modules. If you don't know what CPAN is, check out http://search.cpan.org/. Basicly, it is a massive archive of perl libraries that will... (0 Replies)
Discussion started by: obitus
0 Replies
2. UNIX for Advanced & Expert Users
I have a very strange problem that I can't seem to solve.
I have apache module which filters content and within that module I will add some more content based on this calls:
int check;
check = system("/usr/bin/check");
check is a perl-script that exits with value 1 if the file doesn't... (2 Replies)
Discussion started by: hjalle
2 Replies
3. Shell Programming and Scripting
Hello all,
i am searching how to install a module but the question is :
howto specify CPAN to install a determined version of the module ?
In my case i want to install DBD:Oracle1.14 and not version 1.23 proposed !
Any idea welcome ! :rolleyes:
Thanks ! (1 Reply)
Discussion started by: sun_cracker
1 Replies
4. Shell Programming and Scripting
HI,
I have XML file which is having values as Spanish character (UTF-8 encoding). I am using XML::parser module but my code is not able to read those characters. I did goggling but not able to find suitable solution. Anybody please help me out.
XML file having characters like: ñ
I am... (1 Reply)
Discussion started by: jatanig
1 Replies
5. Shell Programming and Scripting
Q: Where to get a 64 bit Expat.so?
I run a perl script and got this error:
Can't load '/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int/auto/XML/Parser/Expat/Expat.so' for module XML:parser::Expat: ld.so.1:myPerl: fatal:... (0 Replies)
Discussion started by: lilili07
0 Replies
6. OS X (Apple)
Hi,
I am trying to install Unicode::String from the cpan shell, and here is what I get:
Checking if your kit is complete...
Looks good
Writing Makefile for Unicode::String
cp String.pm blib/lib/Unicode/String.pm
cp lib/Unicode/CharName.pm blib/lib/Unicode/CharName.pm... (3 Replies)
Discussion started by: psychomachine
3 Replies
7. AIX
Hi All,
I am facing dependency on AIX :confused:.I am trying to run an script which requires PERL MODULE (XML::DOM) to be installed. Please find the attached file which shows the error i am getting (cant locate XML/DOM.pm in @INC).
Please let me know how to install PERL MODULE (XML::DOM)
... (3 Replies)
Discussion started by: srivatsa86
3 Replies
8. Shell Programming and Scripting
Hi 'm getting error while installing perl mdule on linux.can any one tell me how to resolve that error?
problem is:
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build J/JD/JDB/Win32-OLE-0.1709.tar.gz
OS unsupported
Warning: No success on command
Warning (usually harmless):... (1 Reply)
Discussion started by: kavi.mogu
1 Replies
9. Shell Programming and Scripting
Hi,
I am unable to install module using cpan. It says 407 Proxy Authentication Required
I did setup proxy server and given username and password in .bashrc file and apt.conf file.
export http_proxy=http://username:password@proxyserver:portno/
However, still unable to install... (1 Reply)
Discussion started by: Anjan1
1 Replies
10. Proxy Server
Hi,
I have downloaded Audio::Beep. I tried to install it through CPAN but i got YAML error. Then I have tried to install it manually. I tried all the instructions provided in README file. It worked but when i am compiling , it still gives me error:
# ls
acct21.pl~ imap(2).pl ... (15 Replies)
Discussion started by: zak100
15 Replies
LEARN ABOUT MOJAVE
pod::simple::xmloutstream5.18
Pod::Simple::XMLOutStream(3pm) Perl Programmers Reference Guide Pod::Simple::XMLOutStream(3pm)
NAME
Pod::Simple::XMLOutStream -- turn Pod into XML
SYNOPSIS
perl -MPod::Simple::XMLOutStream -e
"exit Pod::Simple::XMLOutStream->filter(shift)->any_errata_seen"
thingy.pod
DESCRIPTION
Pod::Simple::XMLOutStream is a subclass of Pod::Simple that parses Pod and turns it into XML.
Pod::Simple::XMLOutStream inherits methods from Pod::Simple.
SEE ALSO
Pod::Simple::DumpAsXML is rather like this class; see its documentation for a discussion of the differences.
Pod::Simple, Pod::Simple::DumpAsXML, Pod::SAX
Pod::Simple::Subclassing
The older (and possibly obsolete) libraries Pod::PXML, Pod::XML
ABOUT EXTENDING POD
TODO: An example or two of =extend, then point to Pod::Simple::Subclassing
ASK ME!
If you actually want to use Pod as a format that you want to render to XML (particularly if to an XML instance with more elements than
normal Pod has), please email me ("sburke@cpan.org") and I'll probably have some recommendations.
For reasons of concision and energetic laziness, some methods and options in this module (and the dozen modules it depends on) are
undocumented; but one of those undocumented bits might be just what you're looking for.
SEE ALSO
Pod::Simple, Pod::Simple::Text, Pod::Spell
SUPPORT
Questions or discussion about POD and Pod::Simple should be sent to the pod-people@perl.org mail list. Send an empty email to
pod-people-subscribe@perl.org to subscribe.
This module is managed in an open GitHub repository, <https://github.com/theory/pod-simple/>. Feel free to fork and contribute, or to clone
<git://github.com/theory/pod-simple.git> and send patches!
Patches against Pod::Simple are welcome. Please send bug reports to <bug-pod-simple@rt.cpan.org>.
COPYRIGHT AND DISCLAIMERS
Copyright (c) 2002-2004 Sean M. Burke.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
AUTHOR
Pod::Simple was created by Sean M. Burke <sburke@cpan.org>. But don't bother him, he's retired.
Pod::Simple is maintained by:
o Allison Randal "allison@perl.org"
o Hans Dieter Pearcey "hdp@cpan.org"
o David E. Wheeler "dwheeler@cpan.org"
perl v5.18.2 2013-11-14 Pod::Simple::XMLOutStream(3pm)