What is happening here
From: Wc -Sx- Jones (sx_at_insecurity.org)
Date: 03/30/04
- Next message: Andrew Gaffney: "Re: What is happening here"
- Previous message: R. Joseph Newton: "Re: File content question"
- Next in thread: Andrew Gaffney: "Re: What is happening here"
- Reply: Andrew Gaffney: "Re: What is happening here"
- Maybe reply: Tim Johnson: "RE: What is happening here"
- Reply: Wc -Sx- Jones: "Re: What is happening here"
- Reply: Jeff 'Japhy' Pinyan: "Re: What is happening here"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Mar 2004 00:01:40 -0500 To: "'beginners@perl.org'" <beginners@perl.org>
What is happening here -
#! /usr/bin/perl
use strict;
use warnings;
my $count;
while(1) {
(++$count) ? $count += $count-- : $count += $count++;
print "$count\n"; exit if $count > 60_000;
sleep 1;
}
__END__
-Sx-
- Next message: Andrew Gaffney: "Re: What is happening here"
- Previous message: R. Joseph Newton: "Re: File content question"
- Next in thread: Andrew Gaffney: "Re: What is happening here"
- Reply: Andrew Gaffney: "Re: What is happening here"
- Maybe reply: Tim Johnson: "RE: What is happening here"
- Reply: Wc -Sx- Jones: "Re: What is happening here"
- Reply: Jeff 'Japhy' Pinyan: "Re: What is happening here"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]