mmmmms has asked for the wisdom of the Perl Monks concerning the following question:
C:\Users\MeinerzM\Desktop\MPS_files\wotis\soc2b2014099d07.210000
However when I try to combine with a perl expression the value gets lost:
system qq["perl -i.bak -lpe \'tr/\r//d\'" ${file1}];
I get "the system could not find the specified path". Any ideas?
When I type the value directly it works fine, just have trouble passing through the variable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: trying to pass variable through system call in windows
by toolic (Bishop) on Jan 31, 2014 at 18:23 UTC | |
|
Re: trying to pass variable through system call in windows (" not ')
by tye (Sage) on Jan 31, 2014 at 18:57 UTC | |
|
Re: trying to pass variable through system call in windows
by ww (Archbishop) on Jan 31, 2014 at 19:02 UTC | |
|
Re: trying to pass variable through system call in windows
by Anonymous Monk on Jan 31, 2014 at 23:12 UTC |