kulua has asked for the wisdom of the Perl Monks concerning the following question:
How to execute
perl -F, -lanE 'm/module/?say:say qq|.$F[0]($F[0])$F[1]|' < trial1.txt
Is it
eval 'exec perl -F, -lanE 'm/module/?say:say qq|.$F[0]($F[0])$F1|' < trial1.txt'
command from a perl file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: executing perl command from a perl file
by haukex (Archbishop) on May 24, 2021 at 18:12 UTC | |
|
Re: executing perl command from a perl file
by BillKSmith (Monsignor) on May 24, 2021 at 19:58 UTC | |
|
Re: executing perl command from a perl file
by The Perlman (Scribe) on May 24, 2021 at 17:37 UTC | |
by haukex (Archbishop) on May 24, 2021 at 17:59 UTC | |
by The Perlman (Scribe) on May 24, 2021 at 18:12 UTC | |
by choroba (Cardinal) on May 24, 2021 at 19:21 UTC | |
by Anonymous Monk on May 24, 2021 at 19:42 UTC | |
by haukex (Archbishop) on May 24, 2021 at 18:19 UTC |