in reply to Error with creating new objects
Although, your code works fine for me (perl 5.14).my $switch = Switch:: -> new();
Update - I did reproduce your problem - the issue is what Grandfather (++) says, below.
The recommendation to use NameSpace:: stands.
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|