in reply to Moving, copying and renaming files with new tool

I've been pointed to use <code> or <pre> tags for code samples due to PerlMnks translates [...] to links. To be honest, the source code of the script is already wrapped by the <pre> tags. I modified the initial post using the combination of both as follows <pre><code>.

Replies are listed 'Best First'.
Re^2: Moving, copying and renaming files with new tool
by AnomalousMonk (Archbishop) on Sep 16, 2019 at 17:08 UTC
    I've been pointed to use <code> or <pre> tags for code samples ... I modified the initial post using the combination of both as follows <pre><code>.

    What problem did you encounter when you used  <code> tags alone? I took a brief look at the OP a while ago and I don't recall noticing so much whitespace in it. Is this the effect you wished to achieve? (Maybe it's just an artifact of the rendering of my browser.)


    Give a man a fish:  <%-{-{-{-<

      Input: просто другой хакер жемчуга

      <code>:

      &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1076;&#1088;&#1091;&#1075 +;&#1086;&#1081; &#1093;&#1072;&#1082;&#1077;&#1088; &#1078;&#1077;&#1 +084;&#1095;&#1091;&#1075;&#1072;
      <pre>:
      просто другой хакер жемчуга