Re: string vs 'string' parameters

2001-07-19 Thread Ruth Albocher
Paul wrote: > --- Ruth Albocher <[EMAIL PROTECTED]> wrote: > > > > create_unit(SDunit, 'SDunit_name'); in create_unit function: my $self = shift; my $type = shift; my $name = shift; my $unit; $unit = $type->new(stuff...); $self->{'units'}->{$name} = $unit; > > > > > > lo

Re: string vs 'string' parameters

2001-07-18 Thread Paul
--- 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 scri