develooper Front page | perl.fwp | Postings from July 2003

Re: Is this fun?

Thread Previous
From:
John Douglas Porter
Date:
July 15, 2003 05:22
Subject:
Re: Is this fun?
Message ID:
20030715122215.59303.qmail@web10802.mail.yahoo.com

> > $frag .= "</$t>" x ($no-$nc) if $no > $nc;
> 
>   $description .= "</$tag>" x ( $opens - $closes )
>       if $opens > $closes;

The "if" is unnecessary. Perl handles non-positive
arguments for C<x> just fine.

(Sorry for the unfunness...)

-- 
John Douglas Porter




__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About