Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
While I'm looking forward to some of the features that 6 will make available to us without moving too far away from core perl functionality, the last statement on that page worries me alot (I know, he meant it in tongue-in-cheek:)
Ninety-eight percent backward compatibility even without an automatic p52p6 translator ... pretty slick!
While 98% might be a good number to brag about, we all know that it only takes one character out of thousands to cause an error (say, a mispelled variable name). Sure, from Larry's docs, it says that you'll need a special line near the top of any perl 6 or 5 program to trigger the appropriate action so that perl5 code will not try to be directly run under perl 6 without problems. But unless we see that special line of the code, it can be hard to tell what an inexperienced PM user will mean, whethey they meant %hash->{key} as a typo or a perl6-ism. When perl 6 is no longer just going to be out RSN but is actually avaialable and people developing for it, we here at PM are going to have a dickens of a time trying to help support it particularly if the user does not say up front which they are using.

So a possible suggestion (does not need to be added now), is for any section on PM where code is typically posted (SOPW, Q&A, Code, Craft, etc), add a radio group of buttons which reads "Perl 5", "Perl 6", and "Perl 5 and 6", and require the user to specify this before posting. The posted node can then put this info near the top or some other means to allow the reader to know what version of perl they're working with. This might even extend well into the Super Search features so that help only for perl 6 can be gotten or the like.

Update It might also be good to add "Perl 4 or lower" to that list, since as another monk has told me, that is still supported at some places and discussed here.


Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain

In reply to Suggestion for PM Re: Exegesis 2 - Perl 6 by Masem
in thread Exegesis 2 - Perl 6 by Ovid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-19 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found