Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

"can somebody help me here and tell me whats the mistake i do, and how to correct it"

Did you run this code before posting it? Without bothering to look any further I see Perl give you several pointers to problems:

D:\>perl derp.pl Unquoted string "inputfile" may clash with future reserved word at der +p.pl line 24. Unquoted string "inputfile" may clash with future reserved word at der +p.pl line 48. Global symbol "@agents" requires explicit package name at derp.pl line + 4. Global symbol "$session" requires explicit package name at derp.pl lin +e 4. Global symbol "$i" requires explicit package name at derp.pl line 5. Global symbol "$inputfile" requires explicit package name at derp.pl l +ine 6. Global symbol "$inputfile" requires explicit package name at derp.pl l +ine 7. Global symbol "$agent" requires explicit package name at derp.pl line +9. Global symbol "$i" requires explicit package name at derp.pl line 9. Global symbol "$agent" requires explicit package name at derp.pl line +11. Global symbol "@agents" requires explicit package name at derp.pl line + 11. Global symbol "$i" requires explicit package name at derp.pl line 13. Global symbol "$agent" requires explicit package name at derp.pl line +15. Global symbol "$agent" requires explicit package name at derp.pl line +17. Global symbol "$choice" requires explicit package name at derp.pl line + 23. Global symbol "$fVal" requires explicit package name at derp.pl line 2 +6. Global symbol "$line" requires explicit package name at derp.pl line 2 +7. Global symbol "$line" requires explicit package name at derp.pl line 2 +8. Global symbol "$fVal" requires explicit package name at derp.pl line 3 +0. Global symbol "$fVal" requires explicit package name at derp.pl line 3 +0. Global symbol "$choice" requires explicit package name at derp.pl line + 30. Global symbol "$line" requires explicit package name at derp.pl line 3 +2. Global symbol "$choice" requires explicit package name at derp.pl line + 32. Global symbol "$Agtname" requires explicit package name at derp.pl lin +e 34. Global symbol "$line" requires explicit package name at derp.pl line 3 +4. Global symbol "$Agtname" requires explicit package name at derp.pl lin +e 35. Global symbol "$Agtname" requires explicit package name at derp.pl lin +e 36. Global symbol "$value" requires explicit package name at derp.pl line +37. Global symbol "$val" requires explicit package name at derp.pl line 38 +. Execution of derp.pl aborted due to compilation errors.

Consider fixing these problems first.


In reply to Re: Using Menu and getting result by marto
in thread Using Menu and getting result by ChristieJS

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-23 22:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found