There's more than one way to do things | |
PerlMonks |
Re^3: Secret Perl Operators: the boolean list squash operator, x!!by radiantmatrix (Parson) |
on Aug 02, 2006 at 14:19 UTC ( [id://565231]=note: print w/replies, xml ) | Need Help?? |
Actually, most of your objections don't seem to apply.
As for the 0/1 problem with $is_admin_link, that's a fault of my assumption that $is_admin_link would either be true or undefined. I agree, that's a bad assumption, but it's a simple fix. I would probably use a single ternary:
<–radiant.matrix–>
A collection of thoughts and links from the minds of geeks The Code that can be seen is not the true Code I haven't found a problem yet that can't be solved by a well-placed trebuchet
In Section
Meditations
|
|