That's not a workaround, it's the preferred way to implement the behaviour you were initially looking for.
--
David Serrano (Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling error. Thank you!).