rvosa has asked for the wisdom of the Perl Monks concerning the following question:
As it happens, I'm getting messages of the sort: 'Can't use string ("1") as a HASH ref while "strict refs" in use ...' I fear this may be due not to what I'm doing - I'm not sending a string, nor is the sub supposed to receive a hash ref - but rather because of quirky behavior of args in prototyped subroutines.sub create ($$$$) { my ( $self, $id, $intf, $impl ) = @_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl5 "prototyping": why?
by hardburn (Abbot) on Jul 07, 2005 at 20:43 UTC | |
by rvosa (Curate) on Jul 07, 2005 at 21:01 UTC | |
by CountZero (Bishop) on Jul 07, 2005 at 21:19 UTC | |
|
Re: perl5 "prototyping": why?
by eyepopslikeamosquito (Archbishop) on Jul 07, 2005 at 21:22 UTC | |
by mugwumpjism (Hermit) on Jul 08, 2005 at 04:42 UTC | |
|
Re: perl5 "prototyping": why?
by itub (Priest) on Jul 07, 2005 at 21:52 UTC | |
|
Re: perl5 "prototyping": why?
by grantm (Parson) on Jul 08, 2005 at 01:12 UTC |