>> I know there must be a way to do the following:
>>
>> if (($foobar > 3) || ($foo="t" && $bar = "b"))
{print
>> "yup"}
>if (($foobar > 3) || ($foo eq "t" && $bar eq "b"))
{print "yup"}
>
>Your problem is that a single '=' is assignment, not
>equality. '==' could also be used
>instead of 'eq'.
I know there must be a way to do the following:
if (($foobar > 3) || ($foo="t" && $bar = "b")) {print
"yup"}
Of course this is wrong, but what I want is to print
yup if $foobar >3 or $foo=t and $bar=b.
so:
$foobar=4 $foo=a $bar=b is true
$foobar=1 $foo=f $bar=b is true
$foobar=1 $foo=f $bar=a is
Does anyone know of a way to enumerate all the
available modules on a system?
TIA
Steve
__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
Does anyone have any experience using the ping method
from Net::POP3? I've included the following code,
after running I get "Cannot get ping stats:"
#/usr/bin/perl -w
use Net::POP3;
$pop = Net::POP3->new($mail_server) or die "Can't
connect $!\n";
defined ($pop->login($user)) or die "Can't login
My daughter has decided to put up a web site that
she'd like people to email her at. She has an aol
account at her mothers but I did not want her to give
out that address. So I set up an account were people
can email her there and then I have a process that is
to eliminate any message with "adult
Does anyone have a suggestion for extracting file
attachments from emails? I need to setup a process
that pulls data from an email and then moves the data
and starts another process.
Any help would be great!
Thanks,
Steve
__
Do You Yahoo!?
Yahoo!