Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Looking for ideas: Converting a binary 'flags' field into something human readable

by Monk::Thomas (Friar)
on Jul 08, 2015 at 10:47 UTC ( [id://1133695]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Looking for ideas: Converting a binary 'flags' field into something human readable
in thread Looking for ideas: Converting a binary 'flags' field into something human readable

% perl flag_compress.pl sideways |ompressed up |lse | deleted down | bar | | that
Hmm. Looks quite strange. But I like the idea to try to keep all annotations on the same line and if that is not possible create a new line:
    flags1 => 0b0100110000100000101000000000100000000000000101000000000000001111;
#                | compressed   | other     | and another  |foo             | up
#                   | deleted                                | bar           | down 
#                    | this       | something else                            | charm
#                         | that                                               | strange
Thanks!

Update

Downloaded the code via wget using the download link. Output looks a lot better after converting from DOS to UNIX file format.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-29 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found