in reply to Does Perl have something like the "-e " option of sed in unix
for ($line) { s/(.*)elm(.*)/$concat/ig; s/^/\/h\/COE\/Comp\/CDS\/bin\/cdsadmin -c -O \"/g; } [download]
-- Randal L. Schwartz, Perl hacker