Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Oh if it were only that easy...

by Anonymous Monk
on Apr 02, 2001 at 04:53 UTC ( [id://68895]=note: print w/replies, xml ) Need Help??


in reply to Oh if it were only that easy...

Since $chick is a object of class Women, you can just use $chick->issexy instead of Women::issexy($chick). Also, you forgot the :: between Big::Pimp and (kidnap|pimpslap)
use Big::Pimp; use Women; foreach $chick (@world) { if ($chick->issexy) { Big::Pimp::kidnap($chick); Big::Pimp::pimpslap($chick) until $chick->ismine; } else { next $chick; } }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found