in reply to using join with a print ref statement
You probably want something like:
If you wish to use the ?: notations, thenprint join(":", @$result) if ref $result;
--Daveprint ref($result) ? join(":", @$result) : "no results";
Update: "?:" example fixed per ihb's response
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: using join with a print ref statement
by ihb (Deacon) on Jan 20, 2003 at 19:06 UTC | |
by dpuu (Chaplain) on Jan 20, 2003 at 20:04 UTC |