FunkyMonk, thanks for the insite- I read the posting tips & appreciate the heads up. My last post WAS rather ugly. My problem seems to be threefold-
1. Finding things in the man pages. Where is the Bits:: etc. functions defined & do I need use statements at the beginning of my code to use things like Bits:: or File:: etc.?
2. I've been learning new languages for over 3 decades & it grinds me to have to ask someone else to do my work, but alas "seeking devine guidence", can save time. Thanks for the tip on the tutorials. There was a segment that I stumbled onto that caused me some grief...
print join(" ", map { sprintf "%#02x", $_ } unpack("C*",pack("L",0x123
+45678))), "\n";
print join(" ", map { sprintf "%#02x", $_ } unpack("C*",pack("L",$Byte
+s))), "\n";
This first line works, it prints the 0x12 0x34 etc., but the second just prints 0x00 0x00 etc. I know the 6 hex bytes are in $Bytes because printing it yeilds the proper graphics on the screen. Can you explain the "%#02x"? I've read the printf doc but the light just isn't comming on.
3. See, sorry to ramble on, but when I finally do ask for help, I just want to give you as much info as possible. I work in support, so I know all too well the headaches associated with getting bits (no pun) of info on a "need to know" basis. I guess the next post will have to be "a sample of my script", but I'm trying to avoid burdening you with the laughter. Thanks again.
By the way, I don't plan on spending time here, but if you folks would prefer I sign up, I'd be happy to. At my age, I just try to avoid having to remember additional IDs & passwords. Thanks.
'le Dufois.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.