> On Feb 15, 2017, at 11:08 AM, Uri Guttman <[email protected]> wrote:
>
> try the even simpler and cleaner use of ||
> my $show_ref = delete $log{'show_ref'} || 'no’;
Uri,
After I had sent in my question, I began wondering if exists was even
necessary, so I experimented with the || solution and it worked. However I
didn’t know that it was acceptable until I got your reply. I’m happier with
this solution than with what I wanted to use anyway, so you just made my day.
It’s the simple things in life… you know. :)
Thanks,
Frank
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/