Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: problems passing to subroutine

by thezip (Vicar)
on Nov 11, 2007 at 01:28 UTC ( #650107=note: print w/ replies, xml ) Need Help??


in reply to problems passing to subroutine

  1. Once again, you're not using strict nor warnings
  2. In the line that initializes $default_topic, you use an uninitialized version of $topic. $topic is not set until a few lines later
  3. What is the $help_file variable for? You're not using it anywhere...
  4. You don't need to call the tHelp() sub with the preceding '&' as you do with &tHelp()

Where do you want *them* to go today?


Comment on Re: problems passing to subroutine
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2015-07-06 12:23 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 (74 votes), past polls