How do I accept and manipulate arguments in PERL?
./perlscript.pl $arg1 $arg2
???
Code:for (int i;;) { cout << "Smith"; }
Here ya go:-
http://www.devdaily.com/perl/edu/qanda/plqa00001.shtml
is this what you wanted?
Hi.
$argv1,$argv2,...
all in @ARGV.
example:
./perl sample.pl $argv1 $argv2
@ARGV = $argv1,$argv2
$ARGV[0] = $argv1
$ARGV[1] = $argv2
#Good luck
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks