Grant Hansen wrote: > > What is the ! doing in this statement? > > $quit = 0; > while (! $quit)
That is the logical not operator. It says 'loop while $quit is not true (false)' where not true is either undef, 0, '0' or ''. It could also be written as: until ( $quit ) { Read about this and other operators in the perlop document. perldoc perlop John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]