The left hand side of the fat comma (=>) only works its quote-like magic on a single sequence of word characters; "$" isn't a word character (see \w in perlre) so you have to quote it just like you would any other string. $mech->field( 'ab$cd' => $value )
In reply to Re^3: How to put special characters($, @, #) into a field name?
by Fletch
in thread How to put special characters($, @, #) into a field name?
by neverminda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |