in reply to Error inside Getopt::Long

I think there is a bug. It looks like it's complaining about your 'L=s' line. If I change the name to something else (like a lowercase 'l') it works ok. After looking at the .pm file, it looks like $L is used internally so perhaps there is some kind of conflict there?

FWIW, I also get other errors trying your code above unless I put '\' in front of the last 3 scalars. Of course perhaps you are passing in references inside of them...

bluto