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: "Veena Castelino" <castelv at hotmail dot com>
Subject: Re: @ symbol
Date: Mar 17 1999 12:13AM

Michael,

Thanks. Didn't work...
Tried preceding the @ with \

Veena


>From: Michael Peppler 
>Reply-To: SYBPERL-L@listproc.net
>To: SybPerl Discussion List 
>Subject: @ symbol
>Date: Tue, 16 Mar 1999 15:14:53 -0800 (PST)
>
>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
>
>

Get Your Private, Free Email at http://www.hotmail.com