05-14-2009
grouptags
Hi All,
My issue is resolved. I used ratlperl instead of perl and it resolved my problem.
Thanks for all ur help.
I have redirected the output of my file to output.xm which is in the following format
RT
=> {
'List' => {
'String' => [abcd
efgh
]
RT!
=> {
'List' => {
'String' => [
pqrs
lmno
]
I am trying to get the String values under RT and here is the code i am using
my $data = XMLin("output.xml", GroupTags=>{RequestedTerminations=>'String'});
# print output
print Dumper($data);
However, it doesnt seem to work and i get the following error
Undefined subroutine &main::XMLin called at dump.pl line 15.
Appreciate your help with this
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 DEBIAN
string::camelcase
String::CamelCase(3pm) User Contributed Perl Documentation String::CamelCase(3pm)
NAME
String::CamelCase - camelcase, de-camelcase
VERSION
Version 0.01
SYNOPSIS
use String::CamelCase qw(camelize decamelize wordsplit);
print camelize("some_keyword"); # ==> SomeKeyword
print decamelize("SomeKeyword"); # ==> some_keyword
print wordsplit("some_keyword"); # ==> (some, keyword)
print wordsplit("SomeKeyword"); # ==> (Some, Keyword)
EXPORT
This module can export two functions, "camelize" and "decamelize".
FUNCTIONS
camelize($under_score)
convert from under_score text to CamelCase one.
decamelize($CamelCase)
convert from CamelCase text to under_score one.
wordsplit($str)
AUTHOR
YAMASHINA Hio, "<hio at cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-string-camelcase at rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=String-CamelCase>. I will be notified, and then you'll automatically be notified of
progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc String::CamelCase
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/String-CamelCase>
o CPAN Ratings
<http://cpanratings.perl.org/d/String-CamelCase>
o RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=String-CamelCase>
o Search CPAN
<http://search.cpan.org/dist/String-CamelCase>
SEE ALSO
CamelCase(en.wikipedia.org) <http://en.wikipedia.org/wiki/CamelCase>
CamelCase(ja.wikipedia.org) <http://ja.wikipedia.org/wiki/%E3%82%AD%E3%83%A3%E3%83%A1%E3%83%AB%E3%82%B1%E3%83%BC%E3%82%B9>
COPYRIGHT & LICENSE
Copyright 2006 YAMASHINA Hio, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2009-12-27 String::CamelCase(3pm)