in reply to XMLin : Optimal Way to tell the difference between Array vs Scalar
@anArray = ref $xmlin->{$key} ? @{$xmlin->{$key}} : $xmlin->{$key};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XMLin : Optimal Way to tell the difference between Array vs Scalar
by JadeNB (Chaplain) on Aug 20, 2008 at 21:28 UTC |