in reply to Strange system call failure in OS X
BTW, why don't you do it like this:
#!/usr/bin/env perl use strict; use warnings; my $name = qq(3c0754131c6d); my $result; eval { $result = qx(scutil --set LocalHostName $name) };
..and then take a look $result, $?>>8 and $@?
Just an idea, don't know if this helps but best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Strange system call failure in OS X
by endor-moon (Initiate) on Feb 18, 2013 at 15:12 UTC | |
by karlgoethebier (Abbot) on Feb 18, 2013 at 20:43 UTC | |
|
Re^2: Strange system call failure in OS X
by afoken (Chancellor) on Feb 16, 2013 at 17:15 UTC | |
by karlgoethebier (Abbot) on Feb 16, 2013 at 19:19 UTC |