Steve Lane wrote: > $ perl -le 'print ~~localtime' As Abigail pointed out, this won't work for all values (for example, defined(~~undef) is true). Cheers, Philip -- Philip Newton <Philip.Newton@datenrevision.de> All opinions are my own, not my employer's. If you're not part of the solution, you're part of the precipitate. ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe