I've used chomp(my $var = <STDIN>) a few times but that doesn't take it directly from that line and I was wondering how people do that. And is there a way to know how many arguements were supplied? Like if you needed exactly 1, or maybe exactly 2 arguements?
thanks
20040501 Edit by jdporter: Changed title from 'arguements'
In reply to how to access the commandline arguments? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |