Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Oh, come now. At least we're not talking about getting rid of stumbit.
It would not surprise me if that particular phenomenon received its own NHD entry.

In reply to Re: Re: warn for !/m(e|sg) in CB? (no) by mpd
in thread warn for !/m(e|sg) in CB? by liz

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [msh210]: warn: "If the last element of LIST does not end in a newline, it appends the same file/line number text as die does."
    [msh210]: perl -e'warn "test$/", "" '
    [msh210]: doesn't append anything.
    [msh210]: It should say "If the last nonempty element of LIST" or "If the string thus to be printed does not end in a newline""
    [msh210]: Am I wrong?
    [shmem]: no. You're right.
    [msh210]: About time... last time I was right was... I don't even remember when.
    [shmem]: perl -e 'warn "test$/", ^@^ '
    [Eily]: well, at least it's right about warn doing the same thing as die :)
    [shmem]: same with undef as last element

    How do I use this? | Other CB clients
    Other Users?
    Others rifling through the Monastery: (19)
    As of 2017-04-24 12:41 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      I'm a fool:











      Results (439 votes). Check out past polls.