in reply to Error with creating new objects

Is the name of the PM file Switch.pm or Code.pm? If the name of the file is not Switch.pm it explains the error. Also, as mentioned above, it would be wiser to use a module with a lesser known name than Switch.


Very funny, Scotty. Now beam down my clothes.