#!/fellow/monks.pl
I've gone through the migration of a particular shell script to perl. To complete the migration, I need to count the number of parameters passed to the script via the command line.
In shell, it seems to be the $# command. How would I cound the number of parameters passed to @ARGV?
Thanks!
#!/massyn.pl The early worm gets caught by the bird.
In reply to Count the number of parameters by Massyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |