Hi Indra, On 2011-03-16 22:51 +0700, ind...@students.itb.ac.id wrote: > if(@ARGV != 1){ > print "ARGV error \n"; > print "firstradar velx vely \n"; > exit(1); > }
... > I got this error message : > ARGV error > firstradar velx vely This is your output if the number of arguments isn't what you expected. Guessing from print "firstradar velx vely \n"; you probably want to change if(@ARGV != 1){ to if(@ARGV != 2){ as @ARGV is a list and lists in scalar context is how many elements it contains. Makes sense? -- - Olof Johansson - www: http://www.stdlib.se/ - {mail,xmpp}: o...@ethup.se - irc: zibri on Freenode/OFTC/IRCnet/... --
signature.asc
Description: Digital signature