in reply to Difference in returning string "x" vs string "x" in a variable

Adding more of those lines should work*) as long as you remember to put a comma at the end of the line.

Also, usually error messages for CGI scripts are written to the servers error log. You could have looked there or use CGI::Carp qw(fatalsToBrowser); or run the script from the command line.

*) where work means: it will compile and run and return that extra line from the sub.

  • Comment on Re: Difference in returning string "x" vs string "x" in a variable
  • Download Code