From: Trey Harris [EMAIL PROTECTED] > no strict 'refs'; > my Date $date; > $date .= 'Sep 21, 1963'; > > There is a method name there--'Date::Sep 21, 1963'.
But that's my point. You wouldn't have to put the method name or the class because the compiler would understand what to call. It would see that $date is in the Date class, and 'Sep 21, 1963' is in the String class, so it would pretend the statement really reads $date = Date::new_from_String('Sep 21, 1963'); -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .