From: Chris W. <ch...@cw...> - 2004-02-23 05:40:02
|
On Feb 23, 2004, at 12:07 AM, Vsevolod (Simon) Ilyushchenko wrote: > Some error messages get truncated for the following reason: > > In ClassFactory::exec_behavior you have: > my ( $status, $msg ) = $behavior->( $this_class ); > Then, if $status is ERROR, the $msg is printed. > > However, sometimes you return more than two values from a behavior > function. Witness ClassFactory::DBI::conf_relate_links_to: > the error message is returned as > return ( ERROR, "Failed to retrieve configuration from ", > "'$to_class': $@. (Require error: $require_error)" ); > > If the comma after the first line were changed to a dot, all will be > well. There are other cases like that. Thanks. I fixed the three cases I found. Chris -- Chris Winters Creating enterprise-capable snack systems since 1988 |