Skip Menu |

This queue is for tickets about the File-Fu CPAN distribution.

Report information
The Basics
Id: 41513
Status: resolved
Priority: 0/
Queue: File-Fu

People
Owner: Nobody in particular
Requestors: jloverso [...] mathworks.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: v0.0.4
Fixed in: (no value)



Subject: typo in File::Fu::File pod
It says this in the SYNOPSIS: use File::Fu; my $file = File::Fu->new("path/to/file"); I think you mean: use File::Fu; my $file = File::Fu::File->new("path/to/file"); It would be very nice to be able to say File::Fu->new($path) without knowing whether $path was a file or directory ahead of time!
On Sun Dec 07 13:39:00 2008, jlv wrote: Show quoted text
> It says this in the SYNOPSIS: > > use File::Fu; > my $file = File::Fu->new("path/to/file");
Fixed in svn r2167. Thanks. Show quoted text
> It would be very nice to be able to say File::Fu->new($path) without > knowing whether $path was a file or directory ahead of time!
Something like that would be nice. Perhaps not using the new() method though. Thanks, Eric