I need to print the filename to the screen.

C:\>runme.pl <filename> <output-device>

I have the following in my script:

$test = "$2 @ARGV";
print "Results: $test\n";

Which output:

<filename> <output-device>

I require just the <filename>

Should I be using an array for this or substr?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to