in reply to Question Marks in Subroutine Names

Eeek! I'd imagine that something like:

if ( $user->is_female ) { print "Madam?"; }

would be sufficiently concise and clear for anyone. The 'is_property' (or 'isProperty') is also transferrable to other languages, making it the equivalent of the 'no smoking' graphic :-)

Chris
M-x auto-bs-mode

Replies are listed 'Best First'.
Re: Re: Question Marks in Subroutine Names
by dug (Chaplain) on May 08, 2002 at 03:27 UTC
    Yes, clear. Concise as well. At least as far as the current limitations of Perl go. This qustion isn't about the current limitations of Perl. It's not a question of "How do I do this?". It's a question about the evolution of a language. The only reason that I posed it is because "I'd imagine" someting that doesn't exist in the current incarnation of Perl.