I like -

($a =~ /$b/) ? do_something($a) : do_something($b);


Unfortunately the shortest test may not be the right test.

_Sx____________________
"iudicium ferat:
  Perfer et obdura;
  dolor hic tibi
  proderit olim..."

Reply via email to