Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: read string (which is in binary) and make decision

by flexvault (Monsignor)
on Nov 17, 2012 at 16:26 UTC ( [id://1004322]=note: print w/replies, xml ) Need Help??


in reply to read string (which is in binary) and make decision

Welcome hey_frind,

    My requirement is i need to read each string (always in binary)

Just a caution. The example strings represent binary information, but are actually ASCII characters for '0' and '1'. If the data your working with is in actual binary format, you may need to covert to ASCII characters to run the scripts. If that is the case then 'pack/unpack' will be your friend. Look at the 'b' and 'B' formats.

Good Luck!

"Well done is better than well said." - Benjamin Franklin

  • Comment on Re: read string (which is in binary) and make decision

Replies are listed 'Best First'.
Re^2: read string (which is in binary) and make decision
by hey_frind (Initiate) on Nov 22, 2012 at 00:23 UTC
    Thank you every one with the wonderful feedback and helping me get started on perl'ing !

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found