in reply to How to include a doublequoted string into a backticked expression?
my $backtick = q~" print qq,$_, for @ARGV " 1 2 "3 4 5" 6 %cd% ~; print " # copy in between backticks and paste in shell `$^X -le $backtick` "; print `$^X -le $backtick `; __END__ # copy in between backticks and paste in shell `D:\Perl\bin\perl.exe -le " print qq,$_, for @ARGV " 1 2 "3 4 5" 6 %cd +% ` 1 2 3 4 5 6 D:\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to include a doublequoted string into a backticked expression?
by pat_mc (Pilgrim) on Jan 23, 2009 at 14:03 UTC | |
|
Re^2: How to include a doublequoted string into a backticked expression?
by pat_mc (Pilgrim) on Jan 23, 2009 at 12:53 UTC | |
by Anonymous Monk on Jan 23, 2009 at 13:01 UTC |