An alternate way to create a new version object is through the exported qv() sub. This is not strictly like other q? operators (like qq, qw), in that the only delimiters supported are parentheses (or spaces).
It's really just a function called qv, not a quote operator. Change
qv/0.0.1/
means
qv($_ =~ /0.0.1/)
so change it to one of the following:
qv('0.0.1')
qv"0.0.1" (the space is optional for double quotes)
qv '0.0.1' (the space is necessary for single quotes)
qv q/0.0.1/
In reply to Re: Patching a Package (Scalar::Util)
by ikegami
in thread Patching a Package (Scalar::Util)
by tall_man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |