Hi, I'm trying out File::Find::Object::Rule and get a problem. Here a minimal example:
#! /usr/bin/perl use strict; use warnings; use Data::Dumper; use File::Find::Object::Rule ; my $plf = File::Find::Object::Rule->file->name("*.pl")->start( "./" ); while ( my $perl_file = $plf->match ){ print "$perl_file\n"; } This yields: Can't call method "match" without a package or object reference at ./test_find_object_rule.pl line 12. The example is pretty much modelled after what the man page gave. Any idea what I'm doing wrong? -- Manfred -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/