gspot has asked for the wisdom of the Perl Monks concerning the following question:
Which works like a champ on Solaris (2.6, 2.7, 2.8) and aix (4.3.3 & 5L), but not on HP-UX (9000 or 11.00). They are all running 5.6.1 of Perl. Please smile favorably upon me Monks! gratci, Guy$tmp_string="SARSTATS$SAROPT"; $rec=$$tmp_string[$SAR_DATA_START]{ $tmp_array[0] }; $rec->{device}=$tmp_array[0]; push (@{$rec->{date}}, $date_time); push (@{$rec->{busy}}, $tmp_array[1]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't coerce array into hash at
by bronto (Priest) on Mar 21, 2003 at 15:20 UTC | |
|
Re: Can't coerce array into hash at
by Elian (Parson) on Mar 21, 2003 at 16:11 UTC | |
|
Re: Can't coerce array into hash at
by robartes (Priest) on Mar 21, 2003 at 16:04 UTC |