RE: [Arsperl-users] question regarding the query() method
Brought to you by:
jeffmurphy
|
From: Richard H. <rl...@ls...> - 2005-04-27 15:03:59
|
Folks,
There's a nice way to prevent the "sea" of backslashing and excess
quotes, namely to use Perl's "q" and "qq" operators. For example, Kelly's
definition of $qualString could be written:
my $qualString = q{
'Status' = 0 OR 'Completed Date' = $NULL$ OR 'Completed Date' ....
};
Doing this allows you to cut n paste queries you've tried out in the Remedy
GUI straight into your Perl code.
Cheers,
Richard.
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Kelly Logan
Here's a code snippet of mine:
-------------------------------
my $qualString = '\'Status\' = 0 OR \'Completed Date\' = $NULL$ OR
\'Completed Date\' > $TIMESTAMP$ - (32*24*60*60)';
|