in reply to Re: 'return:' instead of 'return'
in thread 'return:' instead of 'return'
which is horrible for other reasons, but it doesn't produce the above warning. It was only thanks to perltidy that I noticed that there was something funny going on on the last line.sub cmd { my ($cmd) = @_; $cmd =~ s/\//\\/ig; my $ret = system($cmd); return: $ret; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: 'return:' instead of 'return'
by bart (Canon) on Jun 12, 2009 at 09:36 UTC | |
by Boldra (Curate) on Jun 12, 2009 at 10:48 UTC | |
by rovf (Priest) on Jun 12, 2009 at 13:15 UTC | |
by bart (Canon) on Jun 12, 2009 at 11:50 UTC |