Skip Menu |

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

Report information
The Basics
Id: 28747
Status: resolved
Priority: 0/
Queue: File-LibMagic

People
Owner: Nobody in particular
Requestors: nobody [...] mixmaster.it
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.00



Subject: accept contents as a scalar ref
Date: Thu, 9 Aug 2007 00:19:28 +0200 (CEST)
To: bug-File-LibMagic [...] rt.cpan.org
From: George Orwell <nobody [...] mixmaster.it>
since the contents of a file can be quite large, it would make sense to allow passing a reference to the scalar holding the contents, so the data would not have to be copied. so i would hopefully be able to do: $flm->checktype_contents(\$contents); instead of $flm->checktype_contents($contents);