- or download this
$vehicledata[0] = $vh->{year};
$vehicledata[1] = $vh->{make};
...
$vehicledata[3] = $vh->{vin};
$vehicledata[4] = $vehiclecount;
$vehiclecount++;
- or download this
@vehicledata = ( $vh->{year}, $vh->{make}, $vh->{model}, $vh->{vin}, $
+vehiclecount++);
- or download this
@vehicledata = ( @{$vh}{year, make, model, vin}, $vehiclecount++);