--- Ruth Albocher <[EMAIL PROTECTED]> wrote:
> hi
> can you please tell me what is the difference between the two
> parameters
> in the call:
>
> create_unit(SDunit, 'SDunit_name'); (it is code i need to
> maintain...
> )
Well, SDunit there is a bit odd.
looks like a bareword -- does the script have warnings on, and is it
using the strict pragma?
I guess it could be a function call, but if so I think it'd have to be
prototyped....?
How big is the code? Could you post the rest of it?
> (if it helps, then in the create_unit function, i get
> my $self = shift;
> my $type = shift;
> my $name = shift;
> my $unit;
> $unit = $type->new(stuff...);
> $self->{'units'}->{$name} = $unit; )
>
> isn't both of them strings anyway?
>
> thanks,
> ruthie
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]