Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
TimToady had not seen this thread otherwise he would have advertised that was a no-brainer in Perl6. I asked him but could not find that thread again. Hopefully I crossed again it in "best nodes" So from the mouth of the horse^Wcamel and some other #perl6 usual suspects:
Feb 23 00:05:33 <cognominal> recently in perlmonks someone wanted a + qw() that supported comments, is there an idiom for that in perl6? Feb 23 00:06:02 <Juerd> cognominal: <<>>, IIRC Feb 23 00:06:43 <cognominal> I was surprised not to see TimToady pu +shing a Perl6 solution :) Feb 23 00:07:10 <TimToady> cognominal: I don't think we actually sa +id anything about comments, but considering that it's "shell quoting" +, and shells have comments, they could sneak in there... Feb 23 00:07:12 <Juerd> It could still happen Feb 23 00:07:45 <Juerd> TimToady: But let's not have \\\n :) Feb 23 00:07:55 <TimToady> Didn't see that PM thread... Feb 23 00:08:03 <audreyt> shells have line-terminated comments Feb 23 00:08:13 <Juerd> audreyt: That was implied :) Feb 23 00:08:21 <TimToady> So put line breaks in. Feb 23 00:08:36 * audreyt purrs randomly Feb 23 00:09:51 <audreyt> my @x = << Feb 23 00:09:59 <audreyt> This is some splitted words # but not + this Feb 23 00:10:05 <audreyt> and this too # but not this Feb 23 00:10:07 <audreyt> >>;

-- stefp


In reply to Re: comments and qw by stefp
in thread comments and qw by Tanktalus

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 surveying the Monastery: (5)
As of 2024-04-23 17:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found