Re: a modest chainsaw
[email protected] (Ron Savage)
| Newsgroups | perl.module.build |
|---|---|
| Message-ID | <[email protected]> |
Hi Eric
> I'm starting to think that bundling File::Fu might be a good option -
> then at least I could deal with the cross-platform filename problems in
> one place.
The synopsis for File::Fu starts with:
my $dir = File::Fu->dir("bar");
print "$dir\n"; # 'dir/'
my $file = $dir + 'bar.txt';
print "$file\n"; # 'foo/bar.txt'
I'm thinking that first line should be:
my $dir = File::Fu->dir("foo");
and the second should be:
print "$dir\n"; # 'foo/'
to match up what follows.
(Save you logging in to RT, which, given how slow it is right now, means
you can thank me big time :-).
--
Ron Savage
[email protected]
http://savage.net.au/index.html