cpan you have to see
David Cantrell
david at cantrell.org.uk
Sat Dec 15 00:23:29 GMT 2012
On Wed, Dec 12, 2012 at 05:23:23PM +0000, Edmund von der Burg wrote:
> Each language has its own idioms and ways to do things. In shell
> scripting the while true ... done loop is one of them.
>
> In Perl the equivalent would be while (1) { .... }
Although true is 0 in the shell ...
$ true;echo $?
0
$ true && echo "it was true"
it was true
which is bloody irritating.
--
David Cantrell | Godless Liberal Elitist
PLEASE NOTE: This message was meant to offend everyone equally,
regardless of race, creed, sexual orientation, politics, choice
of beer, operating system, mode of transport, or their editor.
More information about the london.pm
mailing list