Shlomi Fish wrote:

On Wednesday 16 Mar 2011 17:51:19 [email protected] wrote:

if(@ARGV != 1){

1. There should be a space before the "{".

There could be, but there doesn't have to be.


     print "ARGV error \n";
     print "firstradar velx vely \n";

You should output errors STDERR - not STDOUT. Maybe use perldoc -f die
instead.

Or perldoc -f warn



John
--
Any intelligent fool can make things bigger and
more complex... It takes a touch of genius -
and a lot of courage to move in the opposite
direction.                   -- Albert Einstein

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to