in reply to Re: Perl - pattern matching
in thread Perl - pattern matching
Hi,
may I suggest to use the following CORE module (even no addon installation necessary):
use Sys::Hostname; my $hostname = hostname;
No subprocess is spawned and hopefully all OS dependent aspects considered. IMHO a much better approach.
best regards
McA
|
|---|