Login
Added -forced-filename option to the P::C::Document contstructor.
authorJeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Wed, 6 Oct 2010 18:38:11 +0000 (18:38 +0000)
committerJeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Wed, 6 Oct 2010 18:38:11 +0000 (18:38 +0000)
commit515ac1b2410ff2360bd1f20eef9394b4a2bd82af
treecbc6da3a761965648656ee030206b057c5251c9b
parent2e31b80408fbec89a78c5ebb1d034bc0e1f0d84d
Added -forced-filename option to the P::C::Document contstructor.
This allows you to give the Document a filename in situations where
the Document is being constructed from something that doesn't already
have a filename (like a reference to a scalar containing actual source
code).
lib/Perl/Critic/Document.pm
t/08_document.t