cweeble has asked for the wisdom of the Perl Monks concerning the following question:
i.e. Given the following command:-
I can read the two data_items physically specified on the command line by reading elements of @ARGV, but how does one read in those two additional lines of data ? I am trying to do this with perl 5.8.8$./myscript.pl data_item1 data_item2 <<QQ<br> hello<br> world<br> QQ
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use of << on comand line
by hippo (Archbishop) on Jun 04, 2018 at 14:18 UTC | |
by ikegami (Patriarch) on Jun 04, 2018 at 19:45 UTC | |
by cweeble (Novice) on Jun 04, 2018 at 14:45 UTC | |
|
Re: use of << on comand line
by Eily (Monsignor) on Jun 04, 2018 at 14:18 UTC | |
by cweeble (Novice) on Jun 04, 2018 at 14:51 UTC | |
by Eily (Monsignor) on Jun 04, 2018 at 15:04 UTC |