This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In t/op/pwent.t, create try_prog() for the common 'try this command' logic.
authorNicholas Clark <nick@ccl4.org>
Fri, 11 Mar 2011 14:52:44 +0000 (14:52 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 12 Mar 2011 16:45:20 +0000 (16:45 +0000)
commit461bf37a2f9aa3ab3d7ec74d49a032a2a5173ab5
treef488b7c2448e02000057ada9225356b00ad8365e
parentc3cf41ec234f6d938cb05ecac21c0ca7515d1d14
In t/op/pwent.t, create try_prog() for the common 'try this command' logic.

Also refactor the clearing of $reason, without changing the behaviour of when
it is cleared (which is slightly less than logical.)
t/op/pwent.t