Thread View: perl.riscos
1 messages
1 total messages
Started by Derek.Moody
Wed, 09 Apr 2008 10:45
File::Find
Author: Derek.Moody
Date: Wed, 09 Apr 2008 10:45
Date: Wed, 09 Apr 2008 10:45
33 lines
1733 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads