Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Pugs Tic Tac

by bpphillips (Friar)
on Apr 25, 2005 at 19:42 UTC ( [id://451311]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Pugs Tic Tac
in thread Pugs Tic Tac

to be completely gramatically correct, you've got to modify the verb as well ;-)
print "$users user", ( $users == 1 ? '' : 's'), " currently use",( $users == 1 ? 's' : ''), " the ternary operator.\n";

Replies are listed 'Best First'.
Re^5: Pugs Tic Tac
by cog (Parson) on Apr 25, 2005 at 20:14 UTC
    Eh.

    And I changed my sentence, because the first version was "There are currently $users using...", and that would have me changing the "are" to "is" too :-)

    Oh well :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://451311]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found