you need to match something. You probably meant:
elsif ($line =~ /^client-hostname\s+"([a-z0-9\-\.]+)"/i) {On the other hand, there is probably a module that already deals with this and would save you even more coding time.
Ryan On Feb 27, 2006, at 1:25 AM, Angus wrote:
elsif ($line =~ /^client-hostname/) { $hostname = $1; }