Hi Edd
>I wish to write a perl script that i can call from the command line
>and pass parameters to it in the call when running under unix, i.e
>
>perl perlscript parameter1 parameter2
A few things you might like to try:
1) Start your script with #!/usr/bin/perl (or wherever perl lives on your
system). Then you won't need the 'perl' to begin the command line.
2) Put perlscript in a directory in your unix path. Then the command
'perlscript parameter1 parameter2' will run from anywhere.
3) $ARGV[0] = parameter1, $ARGV[1] = parameter2, etc.
Cheers
Mark C