- or download this
return $inp or "";
- or download this
$ perl -le'
sub prompt {
...
1
2
- or download this
$ perl -le'
sub prompt {
...
1
2
- or download this
while ( chomp(my $inpt = <STDIN>) != 0 ) {
- or download this
while ( my $inpt = <STDIN> ) {
chomp $inpt;
- or download this
system("ifconfig wlan0 up") if ( (my $ifconf = `ifconfig`)
+ !~ /wlan0/ );
- or download this
system 'ifconfig wlan0 up' if `ifconfig` !~ /wlan0/;