in reply to Re: arch linux small app in perl
in thread arch linux small app in perl
OK, I`ll fix it. The question is how the statement:
return @some_array;would not return all array values like return $a, $b $c... etc? My trim() returned the names without the ' " '. I am still getting used to perl`s syntax since I came from JS/HTML/C. I`ll make it more readable in the future.
I got the error!
my @connection = &trim($conn[0]); if (system("iwconfig wlan0 essid $connection[0] key s:$pawd " +) ) { return 1; }
This should fix it, right?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: arch linux small app in perl
by jwkrahn (Abbot) on Feb 27, 2012 at 23:28 UTC |