|
| Author |
Message |
eric256 The Keymaker

Joined: 03 May 2006 Posts: 2292 Location: Colorado
     
|
Posted: Sat Feb 07, 2004 11:11 pm Post subject: |
|
|
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

Joined: 01 Nov 2003 Posts: 1434
 
|
Posted: Sat Feb 07, 2004 11:57 pm Post subject: |
|
|
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

Joined: 03 May 2006 Posts: 2292 Location: Colorado
     
|
Posted: Sun Feb 08, 2004 12:09 am Post subject: |
|
|
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 |
|
 |
|