On Thu, Oct 28, 2010 at 11:21 PM, Brandon McCaig <[email protected]> wrote:
>    cp $in_fn, "$backup" or die "Failed to backup '$in_fn': $!";
*snip*
>    unlink "$backup" or

Sigh. I [wrongly] quoted a variable. :P For the record, $backup
started as "$in_fn.orig". After seeing myself use it more than once I
decided to centralize it into a variable and failed to refactor the
code properly. :P

-- 
Brandon McCaig <[email protected]>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <[email protected]>

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to