[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Printing $Cluster and $Process in jobmanager script
- Date: Thu, 11 Jan 2007 13:41:03 -0600
- From: Alain Roy <roy@xxxxxxxxxxx>
- Subject: Re: [Condor-users] Printing $Cluster and $Process in jobmanager script
At 01:16 PM 1/11/2007 -0600, you wrote:
I am trying to print the value of cluster and process id of a condor
job in the jobmanager script.
However looks like perl is interpreting the $ sign in an unexpected way.
How can I get perl to understand this ?
Give us your code and your error message for the best possible response.
In general, if Perl sees:
print "cluster: $cluster\n";
It will print the value of the cluster variable where you see $cluster.
You can turn off this behavior by using single quotes:
print 'cluster: $cluster\n';
Which will print: