Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: obj dump

by virtualsue (Vicar)
on Sep 24, 2001 at 16:40 UTC ( #114299=note: print w/ replies, xml ) Need Help??


in reply to Re: obj dump
in thread obj dump



OK. Did you really mean to use -s¹ in the shebang line, or did you mean -w? There are a lot of regular expressions in your program, but no comments and every single variable name is composed of a single character. It looks like it fell out of a 1970s Fortran/Basic timewarp. The indenting is reasonable. Marks out of 10: 3 (provisional, based on the assumption that you meant to run with warnings enabled).




¹From the Perl 5 Pocket Reference:

-s   Interprets -xxx on the command line as a switch and sets the corresponding variable $xxx in the script to 1. If the switch is of the form -xxx=yyy the $xxx variable is set to yyy.


Comment on Re: Re: obj dump
Select or Download Code
Re: Re: Re: obj dump
by tommyw (Hermit) on Sep 24, 2001 at 17:25 UTC
    -s is the right switch: you'll note that there are references (but no assignments to) $d,$g, $p and $matchstr? These are supposed to be set via the command line, and the -s switch. As in: objdump -matchstr=freddy li < input That's just an example, btw. I haven't figured out what the blasted thing does (except machstr is not optional, and should be a regexp capturing three components).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2015-07-04 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls