CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
syntax issue


New User

Sep 17, 2008, 6:47 AM

Post #1 of 2 (563 views)
syntax issue Can't Post


i am trying to execute this statemtn in a perl file but it gives an syntax issue. any help on this will be appreciated as i have tried all combinations but somehow it doesnt work -

system "gsar -s" { " -r"" -o d:\\TicketingSystemScripts\\data\\active_group_uuids.txt"

the gsar is a utility which searches for a something (u specify in -s) and replaces it with the text u give in -r


Sep 17, 2008, 9:03 PM

Post #2 of 2 (548 views)
Re: [samirbole] syntax issue [In reply to] Can't Post

You should look into doing this all in perl.. as text manipulation in perl is easy.

You might look at using qx instead of system. With qx you can something besides the double quotes

qx~gsar -s" { " -r"" -o d:\\TicketingSystemScripts\\data\\active_group_uuids.txt~;


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives