to be executable first, so C<chmod 755 script.pl> (under Unix).
For more information, including instructions for other platforms such as
-Windows and MacOS, read L<perlrun>.
+Windows and Mac OS, read L<perlrun>.
=head2 Basic syntax overview
# a cheap and nasty way to break an email address up into parts
- if ($email =~ /([^@])+@(.+)/) {
+ if ($email =~ /([^@]+)@(.+)/) {
print "Username is $1\n";
print "Hostname is $2\n";
}