http://qs321.pair.com?node_id=738371


in reply to Re^2: Automatically add all defined functions to your @EXPORT
in thread Automatically add all defined functions to your @EXPORT

The do is to introduce a new scope during an assignemnt. "not work for me" is rather vague - you want to elaborate, possibly with the actual error message?

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re^3: Automatically add all defined functions to your @EXPORT

Replies are listed 'Best First'.
Re^4: Automatically add all defined functions to your @EXPORT
by pobocks (Chaplain) on Jan 23, 2009 at 04:45 UTC

    Ahem. Sorry. By "not work for me," I meant "silently compiles and runs with no errors, not printing... and it stopped doing that, making me think it was a 4am transcription error or some such. Question withdrawn!

    for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";