Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dissma

    How to return after warn

    Thank you for pointing that out to me. If the warn for some reason is a failure the return will never be executed. I will do it your way thank you for the help.
  2. dissma

    How to return after warn

    Hi, I am a new to Perl and need help with how to return from a function directly after a warn. This looks like it works but I am not sure if it is okay to do it this way. rename($name1, $name2) or warn "Can't rename file $name1: $!, error" and return 0; Thanks

Part and Inventory Search

Back
Top