in reply to Re: Perl style: Arguing against three-argument join() (++join '')
in thread Perl style: Arguing against three-argument join()
As is traditional, I disagee. I find this far clearer than any other option shown:
$html .= sprintf '%s have %d message%s left', createLink( $USER, "you" ), $new + $old, $new + $old == 1 ? '' : 's' ;
$html .= sprintf '%s have %d message%s left' . ' occupying 0x%x %s of server space', createLink( $USER, "you" ), $new + $old, $new + $old == 1 ? '' : 's', $space, $units, ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl style: Arguing against three-argument join() (++join '')
by ysth (Canon) on Jan 25, 2008 at 22:43 UTC | |
by BrowserUk (Patriarch) on Jan 25, 2008 at 23:03 UTC | |
by ysth (Canon) on Jan 25, 2008 at 23:14 UTC | |
by BrowserUk (Patriarch) on Jan 26, 2008 at 01:10 UTC | |
|
Re^3: Perl style: Arguing against three-argument join() (scale)
by tye (Sage) on Jan 25, 2008 at 02:02 UTC |