Skip Menu |

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

Report information
The Basics
Id: 9550
Status: new
Priority: 0/
Queue: File-MMagic

People
Owner: Nobody in particular
Requestors: ron [...] savage.net.au
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.22
Fixed in: (no value)



Subject: Non-existent file 'test-magic': A suggestion
Line 14 of t/04-string-mod.t tries to load 'test-magic', which does not exist. I assume it is not meant to exist, and you just want to init the object $m1. But this generates an error msg: File::MMagic couldn't load specified file t/test-magic at C:\perl-modules\File-MMagic-1.22\blib\lib/File/MMagic.pm line 374. To avoid this I suggest the program load itself, so line 14 becomes: my $m1 = File::MMagic->new($dir . '04-string-mod.t');