sub is_balanced { eval "qw($_[0]); 1" } [download]
In reply to Re^4: Using qw to check for balanced parentheses by ikegami in thread Using qw to check for balanced parentheses by unix_hacker_beard