Passing Argument to Perl Program
25 Jan 2012Perl is very powerful scripting language. You can pass arguments to Perl using @argv array.
- @argv stores list of all the arguments passed to the perl program.
- $ARGV[N] is used to display arguments passed to the perl program
- $#ARGV is usedd to get total number of arguments passed to the perl program