>>>>> "Simon" == Simon Wilcox <[EMAIL PROTECTED]> writes:

Simon> -                    mkdir $target, $mode || do {
Simon> -                        warn "mkdir  ($target): $!\n";
Simon> +                    mkpath $target, $mode || do {
Simon> +                        warn "mkpath  ($target): $!\n";

I question either version of this code.  The || there
is higher precedence than the list-building of mkdir or mkpath,
so you're essentially coding:

        mkdir $target, ($mode || ... );

Is that intended?  I suspect not.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to