Using the code below on ActivePerl Win32 5.8.9 (and no, I cannot upgrade), generates the error message 'Win32 version 0.27 required--this is only version 0.26 at C:/Perl/lib/Cwd.pm line 692.' at run time. I checked ppm and found that Win32 is at version 0.39. The module which raises the error is Cwd.pm. How best do I resolve this issue given the perl installation constraint?
use strict; use warnings; use File::Find; my $in_dir="M:\\DB_Backups"; my $num_days=30; my $rc=""; sub select_files { my $input_file=$_; if (-d $input_file ) { return; } my $full_path=$File::Find::name; } $File::Find::prune=0; find(\&select_files, $in_dir);

In reply to Win32 version error by loveperl0721

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.