NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

This node was taken out by the NodeReaper on Dec 16, 2015 at 07:27 UTC

Replies are listed 'Best First'.
Re: perl challenge 3
by stevieb (Canon) on Dec 15, 2015 at 23:51 UTC

      awww... and here I had this nice Perl script:

      use warnings; use strict; print `find . -type f -size +500k`

        #!/usr/bin/perl use File::Find::Rule; use warnings; my $filelist; sub buildFile { open ($filelist, ">", "filelist.txt") || die $!; # File find rule and # Provide specific list of directories to scan my $SubDirs= File::Find::Rule->directory->in('etc', 'dev', 'bin'); + # interpret Size Method and stored the list on @files my @files = File::Find::Rule->size('500')->in($SubDirs); print $filelist map { "$_\n" } @files; return \$filelist; }

        this is what i had can someone correct me

        LOL... I just had beer come out my nose. Is that called irony? ;)