Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: IF and some conditions

by mugwumpjism (Hermit)
on Jun 03, 2005 at 06:53 UTC ( [id://463134]=note: print w/replies, xml ) Need Help??


in reply to Re: IF and some conditions
in thread IF and some conditions

If you want a set, then use a set.

use Set::Object; my $set = set(qw(7 5 3)); print "ok" if $set.includes($test);

This module is called plain "Set" in Perl 6.

$h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-18 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found