use strict; use warnings; my $dep_name = 'Salisbury'; my $dep_tip = bless( { '_location' => $dep_name, '_id' => 259, '_key' => 'SLSBRY' }, 'Object::Location' ); if ( ! defined $dep_tip ){ use Carp; croak ( "DATA ERROR: Could not find any location for '$dep_name'" ); }
In reply to Re: Definedness of an Object
by Roy Johnson
in thread Definedness of an Object
by PerlingTheUK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |