Escaping the embedded unbalanced paren with a backslash removes the error.
package Foo; use Class::Std; my %a : ATTR( :default( '<p />:\(' ) ); print "Hello\n";
In reply to Re: Class::Std :default parameter
by Util
in thread Class::Std :default parameter
by esharris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |