On Thu, Oct 28, 2010 at 11:21 PM, Brandon McCaig <bamcc...@gmail.com> 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 <bamcc...@gmail.com>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <bamcc...@castopulence.org>

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to