Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: String Search

by kallol.chakra (Initiate)
on Aug 31, 2009 at 09:19 UTC ( [id://792331]=note: print w/replies, xml ) Need Help??


in reply to Re: String Search
in thread String Search

Hi, I can not understant the format.. Can you please help me? Regards

Replies are listed 'Best First'.
Re^3: String Search
by Anonymous Monk on Aug 31, 2009 at 09:32 UTC
    I am trying to help you, what is the name of this format? Where did you get the sample from? It looks like broken JSON or YAML.

      This data is not Broken, and I don't the formats JSON or YAML. This data is a INPUT data for a Mediation server.

      The Original data Structure I have developed. The data structure : 1. Read data 2. Take the data in a ARRAY like ARRAY[1] = "CME20CP6.CallDataRecord.uMTSGSMPLMNCallDataRecord" ARRAY[2] = "{" ARRAY[3] = "sCFChargingOutput" ARRAY[4] = "{" ARRAY[5] = "callIdentificationNumber : '6CBFD7'H" ..... 3. Find the Header =~ "CallDataRecord" put cntr = 1 4. Start The LOOP until "CallDataRecord" put cntr = 2 5. Take the data in a ARRAY between cntr = 1 and cntr = 2 Like this we have to take
        I was saying that if it were JSON or YAML it would have been broken, but since it is neither JSON nor YAML, you are correct that it isn't broken.

        Here you go

        Its easy to turn this pattern into hash based object.
Re^3: String Search
by kallol.chakra (Initiate) on Aug 31, 2009 at 10:33 UTC

    The format is a System Specific Format.. I have to implement a logic to extract the data..

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://792331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-18 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found