Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

This one, I managed to avoid. I did it once early in my Perl life, and learned the mantra before the bad habit set in:

s/something/else/ for @list;

But, how do you accomplish the same thing with map, and does it make any difference?

Anima Legato
.oO all things connect through the motion of the mind


In reply to Re^2: Stupid mistakes I repeatedly make by legato
in thread Stupid mistakes I repeatedly make by brian_d_foy

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?
    [LanX]: damn my headphones were not plugged and the video blasted thru the office ...
    [LanX]: xD
    [LanX]: .. my boos woke up... ;-)
    [Eily]: nice to see I'm not the only one looking like a fool at work
    Eily answered a message but made the smiley on his face instead of in the message
    [Eily]: when did you become a bishop though? 428 xp that's not too long ago is it?
    [Eily]: and congratulations :P
    [choroba]: Eily++ # made the smiley on his face instead of in the message

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (10)
    As of 2017-09-20 15:47 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      During the recent solar eclipse, I:









      Results (237 votes). Check out past polls.

      Notices?