Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PerlX-QuoteOperator CPAN distribution.

Report information
The Basics
Id: 81393
Status: resolved
Priority: 0/
Queue: PerlX-QuoteOperator

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.06



Subject: Drop dependency on Directory::Scratch
Another suggestion aimed at reducing PerlX-QuoteOperator's list of dependencies. Just drop the dependency from Build.PL/META.yml/etc and in the test case that uses it, do something like: use if (!eval { require Directory::Scratch; 1 }), 'Test::More', skip_all => "requires Directory::Scratch"; use Directory::Scratch; use Test::More tests => 3;
See RT 81392 On Fri Nov 23 17:54:05 2012, TOBYINK wrote: Show quoted text
> Another suggestion aimed at reducing PerlX-QuoteOperator's list of > dependencies. > > Just drop the dependency from Build.PL/META.yml/etc and in the test case > that uses it, do something like: > > use if (!eval { require Directory::Scratch; 1 }), > 'Test::More', skip_all => "requires Directory::Scratch"; > use Directory::Scratch; > use Test::More tests => 3;