Re: It's time to use "use 6.c"
[email protected] (Brandon Allbery) Tue, 9 Feb 2016 09:50:53 -0500
| Newsgroups | perl.perl6.language |
|---|---|
| Message-ID | <CAKFCL4WX5nDQmogOLDGNuSH1wALHaFDpkzPLmgWEd98zET9_jw@mail.gmail.com> |
On Tue, Feb 9, 2016 at 5:38 AM, Peter Pentchev <[email protected]> wrote: > For the record, just to clear up some possible confusion, "use 6.c" > doesn't work in source files; you need "use v6.c". > Clarifying: yary seems to have been confused by the fact that META6.json (only) needs to use version numbers without the leading "v". Perl 6 code needs to continue to use version-string syntax with the leading "v"; otherwise the ".c" confuses it since "c" is not a valid decimal digit. (I assume this is because JSON marshaling of version strings creates / consumes normal strings, those being the only strings defined in JSON, and the leading "v" of a version string is treated as syntax in the same way that Python's "r'" or Ruby's "%r{" are, with no way to represent those "metadata" in JSON.) -- brandon s allbery kf8nh sine nomine associates [email protected] [email protected] unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net