in reply to What shell am I running?

You're using $#_ improperly here. If I add something like:
@_ = ('a','b','c');
before your split line, the split wont return the correct field anymore... Can you see why?

-Blake