User Control Panel
Advertisements

HELP US, HELP YOU!

MSN.pm v 1.3.8

 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN.pm Development
View unanswered posts
Author Message
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Sat Feb 07, 2004 11:11 pm    Post subject: Reply with quote

Checksum: 18117

Check it out. I added a whole bunch of error checking, moved some list stuff around etc.

_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sat Feb 07, 2004 11:57 pm    Post subject: Reply with quote

Cool!

Are you sure the following works correctly? To be safe, we could put () around the parts that are &&ed. Just a thought.

Code:
my $email = shift || carp("Need an email address to add") && return;
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Sun Feb 08, 2004 12:09 am    Post subject: Reply with quote

I ran it threw a test script and it worked as expected. If you use 'and' instead of && then you need the (). Test them out if you can, see what you can get to cause errors.
_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN.pm Development All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group