PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: @ symbol
Date: Mar 16 1999 11:14PM

Veena Castelino writes:
 > In my Perl program (that uses Perl 5 and Sybperl 2.10) I need to make an 
 > OS call (Sun Solaris) to run a SQR report. I pass the parameters to the 
 > SQR program in a parameter file. However to run the report,I have to 
 > precede the parameter file by an @ symbol. Since Perl uses the @ sign to 
 > denote a variable, how can I differentiate between the two scenarios? Is 
 > there some special character that I have it to precede it by ?
 > My code is like this.....
 > 
 > system("sqr $sqrprogram -xp @$param_file -f$outputfile");

system("sqr $sqrprogram -xp \@$param_file -f$outputfile");

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com