xiaoyafeng has asked for the wisdom of the Perl Monks concerning the following question:
pretty good and concise! But how can I know $dave is equal to which element? I can't find answer from that section.Is there a way to find that element? That's why I post.if $dave == any(1,4,9) { print "I'm sorry, Dave, you're just a square." }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Juction question
by erroneousBollock (Curate) on Oct 31, 2007 at 03:24 UTC | |
by Anonymous Monk on Oct 31, 2007 at 11:21 UTC | |
|
Re: Juction question
by Gangabass (Vicar) on Oct 31, 2007 at 03:54 UTC | |
by erroneousBollock (Curate) on Oct 31, 2007 at 04:14 UTC | |
by Gangabass (Vicar) on Oct 31, 2007 at 06:29 UTC |