"Knowledge is of two kinds. We know a
subject ourselves, or we know where we can
find information on it."
Samuel Johnson (1709 - 1784)

There are a lot of info from perldoc.
Type
C:\>perldoc perldoc
To learn how to use perldoc ;)

José.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 30, 2003 5:06 PM
To: [EMAIL PROTECTED]
Subject: ? thinger


I have been noticing the ? used quite a bit, and I don't know what it does. I know in 
regular expressions it means "0 or 1" but what about in a time like:

for my $op ( "and", "or ", "xor" ) {
    print "0 $op 0 ", eval "0 $op 0" ? "TRUE" : "FALSE";
    print "0 $op 1 ", eval "0 $op 1" ? "TRUE" : "FALSE";
    print "1 $op 0 ", eval "1 $op 0" ? "TRUE" : "FALSE";
    print "1 $op 1 ", eval "1 $op 1" ? "TRUE" : "FALSE";
    }

or 

my @keys = ($orderRef)?(@$orderRef):(keys %$hashRef);

TIA

Brian Seel
High School Intern
Micron Technology
[EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



**** DISCLAIMER ****

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to