🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: perl.riscos
Article #1

File::Find

#1
From: Derek.Moody
Date: Wed, 09 Apr 2008 10:45
33 lines
1733 bytes
Hi Folks,

Perl 5.8.8-1  RO 3.7 in raFS

Can someone check the following:
Substitute appropriate directories for 'dira dirb' (shift-drag) and see how
deep this script goes...

########################

#!/usr/bin/perl -w

use File::Find;
use strict;

my @dirs= qw/ dira dirb /;

find(\&wanted, @dirs);

sub wanted{
print "$File::Find::dir - $_\n";
}

########################

It only goes one directory deep here :-(

Runs full depth on my linux box.

Cheerio,

-- 
>> derek.moody@clara.net
Technical Details
Message-ID: <Marcel-1.53-0409104541-0b0BxcK@strongarm.dereks.pad>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-perl.riscos.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!nntp.perl.org

Show Full Headers
Complete Article Headers
Message-ID: <Marcel-1.53-0409104541-0b0BxcK@strongarm.dereks.pad>
Subject: File::Find
Date: Wed, 09 Apr 2008 10:45:41 +0000
From: derek.moody@clara.net (Derek.Moody)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-perl.riscos.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!nntp.perl.org
Newsgroups: perl.riscos
Return-Path: <derek.moody@clara.net>
Mailing-List: contact riscos-help@perl.org; run by ezmlm
Delivered-To: mailing list riscos@perl.org
Delivered-To: riscos@perl.org
X-Spam-Status: No, hits=-2.6 required=8.0
 tests=BAYES_00,DATE_IN_PAST_03_06
X-Spam-Check-By: la.mx.develooper.com
 by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP;
 by ptb-relay01.plus.net with smtp (Exim) id 1JjbO8-0004Rb-Kg
To: riscos@perl.org
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Organization: Derek in Dorset U.K.
X-Mailer: ANT RISCOS Marcel [ver 1.53]
X-Plusnet-Relay: 31d3e5537e73ac760b845f02442b0e8f
Approved: news@nntp.perl.org
Lines: 33