Read explicitly from STDIN and you'll be fine:
use strict; use warnings; my ($input1, $input2) = @ARGV; print "Save '$input1' and '$input2'\n"; print "and another string within the program!: "; my $inputinside = <STDIN>; print $inputinside;
In reply to Re: mix arguments with normal input
by hippo
in thread mix arguments with normal input
by bofinken
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |