Sponsored Content
Top Forums Shell Programming and Scripting Perl Data Structure - Non unique values Post 302411192 by dinjo_jo on Thursday 8th of April 2010 12:24:25 AM
Old 04-08-2010
Its has a scalar values in it.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

to retrieve unique values

Hi all, I have a 10.txt file. In this file 2 words are present by name Active and Inactive and these words are repeated 7000 times. I want to take the unique 2 words from this 7000 lines. Thanks Mahalakshmi.A (3 Replies)
Discussion started by: mahalakshmi
3 Replies

2. Programming

Search attributes in one structure using the values from another structure

Hello Groups I am trying to find out ways of comparing a value from a 'c' structure to a value in another 'C' structure. the 'C' structure can be a List or liked list as it contains lot many records. if we loop it in both the structures it is going to consume time. I am looking for a simple... (3 Replies)
Discussion started by: dhanamurthy
3 Replies

3. Shell Programming and Scripting

Getting Unique values in a file

Hi, I have a file like this: Some_String_Here 123 123 123 321 321 321 3432 3221 557 886 321 321 I would like to find only the unique values in the files and get the following output: Some_String_Here 123 321 3432 3221 557 886 I am trying to get this done using awk. Can someone please... (5 Replies)
Discussion started by: Legend986
5 Replies

4. Shell Programming and Scripting

unique storage structure in ksh

hi all, is there a storage structure in ksh which only allows unique values i.e overwrites duplicates values ?? am using an array to hold server names from a 'find' command but some of the names are repeated. Is there an easy way to remove the duplicates ?? ta. (2 Replies)
Discussion started by: cesarNZ
2 Replies

5. Shell Programming and Scripting

perl-extract data from hash values

Hello, I have parsed an xml file using perl to get the hash values and the output looks like this $VAR1 = { 'RT' => { 'List' => { 'String' => ... (1 Reply)
Discussion started by: userscript
1 Replies

6. Shell Programming and Scripting

perl data structure

Hi All, I want to create a data structure like this $VAR1 = { 'testsuite' => { 'DHCP' => { 'failures' => '0', 'errors' => '0', 'time' =>... (3 Replies)
Discussion started by: Damon_Qu
3 Replies

7. Shell Programming and Scripting

AWK, Perl or Shell? Unique strings and their maximum values from 3 column data file

I have a file containing data like so: 2012-01-02 GREEN 4 2012-01-02 GREEN 6 2012-01-02 GREEN 7 2012-01-02 BLUE 4 2012-01-02 BLUE 3 2012-01-02 GREEN 4 2012-01-02 RED 4 2012-01-02 RED 8 2012-01-02 GREEN 4 2012-01-02 YELLOW 5 2012-01-02 YELLOW 2 I can't always predict what the... (4 Replies)
Discussion started by: rich@ardz
4 Replies

8. Shell Programming and Scripting

Finding unique values in a hash (Perl)

Hi, I have a hash with unique keys associated with some data. my %FINALcontigs = ( 'mira_rep_c765:119reads**', 'ctctactggaagactgac', 'mira_rep_c7454:54reads**', 'atggatactgcgctgttgctaactactgga', 'mira_rep_c6803:12reads**', 'atcgactggatgcagggttgtggtttcta', ... (2 Replies)
Discussion started by: jdilts
2 Replies

9. Programming

Sctp api name to retrieve the values of structure sctpassoctable

Hi i want a sctp (lksctp) api which can retrieve the values of the sctp structure "sctpAssocTable" It is sctpassoctable or sctpassocentry. SctpAssocEntry ::= SEQUENCE { sctpAssocId Unsigned32, sctpAssocRemHostName OCTET STRING, sctpAssocLocalPort ... (1 Reply)
Discussion started by: harioum
1 Replies

10. Shell Programming and Scripting

Perl :: reading values from Data Dumper reference in Perl

Hi all, I have written a perl code and stored the data into Data structure using Data::Dumper module. But not sure how to retreive the data from the Data::Dumper. Eg. Based on the key value( Here CRYPTO-6-IKMP_MODE_FAILURE I should be able to access the internal hash elements(keys) ... (1 Reply)
Discussion started by: scriptscript
1 Replies
Net::XMPP::Stanza(3pm)					User Contributed Perl Documentation				    Net::XMPP::Stanza(3pm)

NAME
Net::XMPP::Stanza - XMPP Stanza Module SYNOPSIS
Net::XMPP::Stanza is a private package that serves as a basis for all XMPP stanzas generated by Net::XMPP. DESCRIPTION
This module is not meant to be used directly. You should be using either Net::XMPP::IQ, Net::XMPP::Message, Net::XMPP::Presence, or another package that inherits from Net::XMPP::Stanza. That said, this is where all of the namespaced methods are documented. The current supported namespaces are: jabber:iq:auth jabber:iq:privacy jabber:iq:register jabber:iq:roster urn:ietf:params:xml:ns:xmpp-bind urn:ietf:params:xml:ns:xmpp-session For more information on what these namespaces are for, visit http://www.jabber.org and browse the Jabber Programmers Guide. The following tables can be read as follows: ny:private:ns Name Type Get Set Remove Defined Add ========================== ======= === === ====== ======= === Foo scalar X X X X Bar child X Bars child X Test master X X Withing the my:private:ns namespace, there exists the functions: GetFoo(), SetFoo(), RemoveFoo(), DefinedFoo() AddBar() GetBars(), DefinedBars() GetTest(), SetMaster() Hopefully it should be obvious how this all works. If not feel free to contact me and I'll work on adding more documentation. jabber:iq:auth Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Digest scalar X X X X Hash scalar X X X X Password scalar X X X X Resource scalar X X X X Sequence scalar X X X X Token scalar X X X X Username scalar X X X X Auth master X X jabber:iq:privacy Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Active scalar X X X X Default scalar X X X X List child X Lists child X X X Privacy master X X jabber:iq:privacy - item objects Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Action scalar X X X X IQ flag X X X X Message flag X X X X Order scalar X X X X PresenceIn flag X X X X PresenceOut flag X X X X Type scalar X X X X Value scalar X X X X Item master X X jabber:iq:privacy - list objects Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Name scalar X X X X Item child X Items child X X X List master X X jabber:iq:register Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Address scalar X X X X City scalar X X X X Date scalar X X X X Email scalar X X X X First scalar X X X X Instructions scalar X X X X Key scalar X X X X Last scalar X X X X Misc scalar X X X X Name scalar X X X X Nick scalar X X X X Password scalar X X X X Phone scalar X X X X Registered flag X X X X Remove flag X X X X State scalar X X X X Text scalar X X X X URL scalar X X X X Username scalar X X X X Zip scalar X X X X Register master X X jabber:iq:roster Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Item child X Items child X Roster master X X jabber:iq:roster - item objects Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Ask scalar X X X X Group array X X X X JID jid X X X X Name scalar X X X X Subscription scalar X X X X Item master X X urn:ietf:params:xml:ns:xmpp-bind Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === JID jid X X X X Resource scalar X X X X Bind master X X urn:ietf:params:xml:ns:xmpp-session Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Session master X X AUTHOR
Ryan Eatmon COPYRIGHT
This module is free software, you can redistribute it and/or modify it under the LGPL. perl v5.14.2 2012-11-06 Net::XMPP::Stanza(3pm)
All times are GMT -4. The time now is 10:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy