in reply to
Re: sytem command perl
in thread
sytem command perl
system q(perl -pi -e 's/>//g' $filename); If i use a scalar variable instead of the filename or an entire directory then the system hangs... system q(perl -pi -e 's/>//g' $dirname/*); doesn't work.... plz help....
Comment on
Re^2: sytem command perl
Replies are listed 'Best First'.
Re^3: sytem command perl
by
ysth
(Canon)
on Aug 25, 2008 at 05:30 UTC
If you want variable interpolation, use qq(...), not q(...)
--
Online Fortune Cookie Search
Office Space merchandise
[reply]
Re^3: sytem command perl
by
Anonymous Monk
on Aug 25, 2008 at 05:33 UTC
perlintro
[reply]
In Section
Seekers of Perl Wisdom