in reply to Having a problem with do

Is the current directory the one you think it is?

Personally, there are a couple things that scare me here...

  1. Using .. to load a file. I try to use full paths when I can. When I can't, I tightly control the current working directory. And reset it when I'm done.
  2. Using do instead of require or use. If you're going to reuse the code, please please please put it in a module.
Just a thought.