Subject: | Cannot have attribute called $.y |
Date: | Sun, 16 Aug 2015 11:30:39 +0100 |
To: | bug-Dios [...] rt.cpan.org |
From: | Peter Roberts <me [...] peter-r.co.uk> |
Take this script
http://paste.ubuntu.com/12096538/
I get
Show quoted text
> perl dios-broken.pl
Unmatched right curly bracket at dios-broken.pl line 23, at end of line
syntax error at dios-broken.pl line 23, near "}"
Execution of dios-broken.pl aborted due to compilation errors.
But s/y/yy/g as in the following script
http://paste.ubuntu.com/12096529/
And I get the expected output
Show quoted text > perl dios-working.pl
23.259406699226
Show quoted text > perl -v
This is perl 5, version 22, subversion 0 (v5.22.0) built for
x86_64-linux
(with 1 registered patch, see perl -V for more detail)
it also happens under 5.20
--
Thanks
Peter Roberts