on Tue, 05 Nov 2002 01:10:51 GMT, [EMAIL PROTECTED] (Jose Malacara) wrote:
> I would like to be able to force them use the > "server[number].[location]" syntax and generate a warning if they > don't. Would it be possible to add a second argument test after > the first? Something like: > > ( $#ARGV eq "server*.*" ) or die "usage: $0 > <server[number].[location]>\n"; $ARGV[0] && $ARGV[0] =~ /^[a-z]+\d+\.[a-z]+$/i or die "usage ..."; -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]