On Jun 4, Trevor Nichols said:

>I've got two machines here which are pretty crappy but there seems to be
>something seriously wrong somewhere.  One machine, a Pentium 200 MMX
>with 80MB ram runs a very simple script taking 5 seconds.
>
>t@data:~$ cat test.pl
>use diagnostics;
>use strict;
>
>print "hi\n";
>t@data:~$ time perl test.pl
>hi
>
>real    0m5.105s
>user    0m4.990s
>sys     0m0.100s

Do not 'use diagnostics' in any production code.  This module is used ONLY
for getting VERBOSE information about all warnings and errors your program
produces.  It is a debugging tool.

However, 'use strict' is fine.  'use strict' all the time.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to