jschimno has asked for the wisdom of the Perl Monks concerning the following question:
I have tried using split to separate the username from the host: ($username, $host ) = split( '\@', $argv[1] ); Which didn't work. If anyone has any ideas they would be much appreciated.#!/usr/bin/perl -w print $argv[1] . "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: email address as argument to script
by tall_man (Parson) on Mar 14, 2003 at 16:24 UTC | |
|
Re: email address as argument to script
by davorg (Chancellor) on Mar 14, 2003 at 16:24 UTC | |
|
Re: email address as argument to script
by blokhead (Monsignor) on Mar 14, 2003 at 16:24 UTC | |
|
Re: email address as argument to script
by dstotten (Novice) on Mar 14, 2003 at 16:34 UTC | |
|
Re: email address as argument to script
by Vorlin (Beadle) on Mar 14, 2003 at 21:28 UTC |