in reply to Re^6: Why is my script not printing anything?and how to add a switch case in perl
in thread Why is my script not printing anything?and how to add a switch case in perl

No, you need the braces, and each time you don't indent a kitten dies:
if ($answer) { error_entry(); } else { warning_entry(); }
  • Comment on Re^7: Why is my script not printing anything?and how to add a switch case in perl
  • Download Code