in reply to Implication operator
Man, think before you request features in the core language. You *are* allowed to define your own subroutines in Perl.
I would really think that
($method eq "post") -> ($contenttype eq "application/x-www-form-urlenc +oded)
is better written (in terms of self-explaining code) as:
implies(($method eq "post") => ($contenttype eq "application/x-www-form-urlencoded))
and you even get your arrow, visually.
Why does everybode want *operators* when they can have *functions* for nothing?
Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Implication operator
by kaatunut (Scribe) on Dec 11, 2000 at 21:15 UTC | |
by chipmunk (Parson) on Dec 11, 2000 at 21:38 UTC | |
by Fastolfe (Vicar) on Dec 11, 2000 at 21:26 UTC | |
by chipmunk (Parson) on Dec 11, 2000 at 21:52 UTC | |
by Fastolfe (Vicar) on Dec 11, 2000 at 23:56 UTC |