sivasakthi wrote:
Hi all,

Hello,

How we can check the argument is passing to the running file or not?

#sample.pl 2008 03

i want to check the two arguments of 2008 & 03 is passed to sample.pl or
not..

@ARGV == 2 or die "You must supply two arguments!\n";



John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall

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


Reply via email to