7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My input is:
a.txt computer
b.txt
c.txt
e.txt
I want my output to be:
a.txt computer
b.txt computer
c.txt computer
e.txt computer
There are about 100000 text files having the same format as my input data. What I am doing now is too slow and also requires plenty of scripts.
1. wc -l all... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies
2. Shell Programming and Scripting
Hi Guys,
is there any way to sort a files from excel in shell?
$cat file1
asa003 hekk
asa341 no more
asa012 try a d g
asa001 a
asa111 this is just a sample for long string
Desire output:
asa001 a
asa003 hekk
asa012 try a d g
asa111 this is just a sample for long string
asa341... (5 Replies)
Discussion started by: kenshinhimura
5 Replies
3. Programming
I would like to seek help on my LED REST API. I have finished constructed my basic REST API for my Raspberry PI. What I'm trying to do now is allow my LED to light up whenever I key localhost:3000/7/1 and key localhost:3000/7/0 to switch off. But my problem now is my REST API can't works and hope... (0 Replies)
Discussion started by: aoiregion
0 Replies
4. Solaris
Hi
When I installed opensolaris, I installed it on a 20GB partition. How do I make use of the other 300GB I have spare?
format shows:-
-bash-3.2# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c3d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
... (12 Replies)
Discussion started by: hellotommy
12 Replies
5. UNIX for Advanced & Expert Users
Hi, can anyone please answer my question in deleting the rest of the line. I have an example below of a file contaning:
Serial3/1.5 43.70.195.13 YES NVRAM down down
Serial3/3 225.94.155.69 YES NVRAM up down
Serial3/6 ... (3 Replies)
Discussion started by: Aejaz
3 Replies
6. Shell Programming and Scripting
Hi All,
Can you please tell me how to identify a 0kb file from a list a files and redirect only those files to a .txt file.
ls -l shows me all the 0kb files...but how to redirect only those files..
Thanks for ur help,
Kumar (3 Replies)
Discussion started by: kumarsaravana_s
3 Replies
7. Shell Programming and Scripting
Hi all,
I'm stuck on this last part...am running a simple script under AIX to extract NetView host IP addresses. The line below returns the IP address in parenthesis with a trailing colon, i.e.
ping -c 1 $name |grep \( | awk '{ print $3 }' --------> returns
(a.b.c.d):
How can I only... (10 Replies)
Discussion started by: livinthedream
10 Replies
SOAP::WSDL::Deserializer::SOM(3pm) User Contributed Perl Documentation SOAP::WSDL::Deserializer::SOM(3pm)
NAME
SOAP::WSDL::Deserializer::SOM - Deserializer SOAP messages into SOM objects
SYNOPSIS
use SOAP::WSDL;
use SOAP::WSDL::Deserializer::SOM;
use SOAP::WSDL::Factory::Deserializer;
SOAP::WSDL::Factory::Deserializer->register( '1.1', __PACKAGE__ );
DESCRIPTION
Deserializer for creating SOAP::Lite's SOM object as result of a SOAP call.
This package is here for two reasons:
o Compatibility
You don't have to change the rest of your SOAP::Lite based app when switching to SOAP::WSDL, but can just use
SOAP::WSDL::Deserializer::SOM to get back the same objects as you were used to.
o Completeness
SOAP::Lite covers much more of the SOAP specification than SOAP::WSDL.
SOAP::WSDL::Deserializer::SOM can be used for content which cannot be deserialized by SOAP::WSDL::Deserializer::SOAP11. This may be
XML including mixed content, attachements and other XML data not (yet) handled by SOAP::WSDL::Deserializer::SOAP11.
SOAP::WSDL::Deserializer::SOM is a subclass of SOAP::Deserializer from the SOAP::Lite package.
METHODS
deserialize
Deserializes a XML sting into a SOAP::SOM object. Returns a SOAP::Fault object on deserialization errors.
generate_fault
Dies with a SOAP::Fault object.
USAGE
SOAP::WSDL::Deserializer will not autoregister itself - to use it for a particular SOAP version just use the following lines:
my $soap_version = '1.1'; # or '1.2', further versions may appear.
use SOAP::WSDL::Deserializer::SOM;
use SOAP::WSDL::Factory::Deserializer;
SOAP::WSDL::Factory::Deserializer->register( $soap_version, __PACKAGE__ );
DIFFERENCES FROM OTHER CLASSES
Differences from SOAP::Lite
o No on_fault handler
You cannot specify what to do when an error occurs - SOAP::WSDL will return a SOAP::Fault object on transport errors.
Differences from other SOAP::WSDL::Deserializer classes
o generate_fault
SOAP::WSDL::Deserializer::SOM will die with a SOAP::Fault object on calls to generate_fault.
This also means that a SOAP::Fault may be thrown as exception when using
LICENSE AND COPYRIGHT
Copyright 2004-2007 Martin Kutter.
This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself.
AUTHOR
Martin Kutter <martin.kutter fen-net.de>
REPOSITORY INFORMATION
$Rev: 851 $
$LastChangedBy: kutterma $
$Id: SOM.pm 851 2009-05-15 22:45:18Z kutterma $
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Deserializer/SOM.pm $
perl v5.10.1 2010-12-21 SOAP::WSDL::Deserializer::SOM(3pm)