Welcome, guest! Login / Register - Why register?
[ Pastes: 81657 ] [ Members: 2201 ]

Paste

Short URL: N/A
Pasted as Ruby by 9000 on Sunday, December 19th, 2010 1:48am ( 6 years ago )
def foo()
  # stuff
  valid_emails = ["[email protected]", "[email protected]"]
  invalid_emails = ["abz", "a#moo.net"]
  return valid_emails, invalid_emails
end

v, inv = foo()
print "valid: ", v, "n"
print "invalid: ", inv, "n"

 

Revise this Paste

Your Name:
Code Language:

To minimise the influx of spam: you are required to register to post any code.