infoninja has asked for the wisdom of the Perl Monks concerning the following question:
it prints ".htaccess" for each instance that it finds in the specified tree, and then prints "Illegal seek" - any idea what's causing the illegal seek and how to prevent it ?#!/usr/bin/perl -w use strict; use File::Find; my $username = 'testuser'; sub htaccess_test { if ($_ eq '.htaccess') { print "$_\n"; } } find(\&htaccess_test, "/home/$username/public_html/") or print "$!\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Illegal seek from Find::File
by btrott (Parson) on Jun 02, 2000 at 00:52 UTC | |
by infoninja (Friar) on Jun 02, 2000 at 00:58 UTC | |
by merlyn (Sage) on Jun 06, 2000 at 07:31 UTC |