[DCPM] shorthand required

Steve Marvell steve at devon-it.co.uk
Thu Feb 15 10:48:30 PST 2007


Neil Williams wrote:

> if ($g->{type} eq 'pilot_address')
> {
> 	my $c = new Contact;
> 	$c->entryCity($g->{'string'}->[0]->{content});
> }

Where does the entryCity subroutine come from?

Is there a good reason you're using a subroutine over simply setting
it directly?

Steve


More information about the Devoncornwall-pm mailing list