http://www.perlmonks.org?node_id=650107


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?