Look for the file whose name does not match the pattern /^(0-9\w.:,=\-+)$/

When I did a grep with that pattern, for the folder, there was no output ? Also when stepping through with the debugger, moved the mouse over the line my @files = map { /^([0-9][\w.:,=\-]+)$/ and it said something about syntax error. I will look into use Carp to get the error pushed out to a file.

It also does some trickery with the numbers that the filenames are supposed to start with, so if you've got two files that are named something like like "0012345abc" and "012345abc", one of those is going to get ignored.

I ran a folder compare on ../new and ../cur paths (total of 592 files), and there are no filenames with the same name. Also there are no filenames that begin with zero. The range is 1231125716.6864.bLyyk:2,S to 1422830161.R3.asus64:2,S


In reply to Re^4: Display filenames in mbox folder by peterr
in thread Display filenames in mbox folder by peterr

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, details, 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, summary, 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.