try this ... $commnd_string = qq!"this is the .sql in a file"!;
-----Original Message----- From: steve hatfield <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Saturday, June 28, 2003 9:57 AM Subject: General Perl Question >Hi everyone, > >I am working in a Unix db2 environment and I am using >a system call to connect to the database and run the >.sql's line by line. > >The one thing I need to know is how do u quote a line >in perl for a unix environment? > >for example: >$db2command = "db2 "; >$commnd_string = "this is the .sql in a file"; > >$db2command = $db2command." ".$command_string; > >I need that $command_string to have quotes around each >line of the file. >Thanks for the help, > >-Steve > >__________________________________ >Do you Yahoo!? >SBC Yahoo! DSL - Now only $29.95 per month! >http://sbc.yahoo.com >
