Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Unpack/format

by Reverend Phil (Pilgrim)
on Feb 13, 2002 at 17:17 UTC ( [id://145211]=note: print w/replies, xml ) Need Help??


in reply to Re: Unpack/format
in thread Unpack/format

Thanks Jim. That'd definitely kill the 'x' issue, and I'll probably put that there. However, if I'm going to handle this, I'd rather trap short entries and yell at the customer. Currently, I yell at them for a variety of reasons via email within the script. I'd like to junk any file that has short records like this, and notify the client. I guess I'm looking for the prettiest way that someone can think of, and wondering if there's something out there that quickly calculates the expected length given a pack/unpack style format string.

As for the $a/$b - thanks for kicking me =) I know this, and generally do not use such nefarious variables. They show up only when I'm hitting the interpreter directly on my stinky Win32 box in order to test some snippet (like this one). =)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-03-28 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found