i am new to perl. please help me with this piece of code below.
answer wat it prints is correct but the format has to adjusted...!
program to convert Celsius to Fahrenheit
**
#!/usr/bin/perl
use warnings;
use strict;
p
Hi All,
I have written simple script in perl to get the user login name
Following is the script
$sessionobj = $entity->GetSession();
$username = $session->GetUserLoginName();
$entity->SetFieldValue("submitter_id", $username);
But when i am running my cq application this hook is not executing a
Helo Saran,
The reason why it was printed in the next line is because u have no used
chomp function on $c.Chomp would remove unwanted new line characters.
I added chomp($c) to ur code and it works fine.. i mean as hw u wanted..
pls find the same code below with chomp..
Hi Saran,
overall, pretty good code.
On Monday 25 October 2010 18:21:31 saran wrote:
> i am new to perl. please help me with this piece of code below.
> answer wat it prints is correct but the format has to adjusted...!
> program to convert Celsius to Fahrenheit
>
On 10/25/10 Mon Oct 25, 2010 9:21 AM, "saran"
scribbled:
> i am new to perl. please help me with this piece of code below.
> answer wat it prints is correct but the format has to adjusted...!
> program to convert Celsius to Fahrenheit
> **
On Oct 25, 9:21 am, simssa...@gmail.com (saran) wrote:
> i am new to perl. please help me with this piece of code below.
> answer wat it prints is correct but the format has to adjusted...!
> program to convert Celsius to Fahrenheit
>
On 3/23/06, Irfan J Sayed <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have written simple script in perl to get the user login name
>
> Following is the script
>
> $sessionobj = $entity->GetSession();
> $username = $session->GetUserLoginName();
> $entity->SetFieldValue("submitter_id", $username);
>
Hi Chas,
This is the only program i am using.
Plz tell me what i am doing wrong.
Regards
Irfan Sayed
"Chas Owens" <[EMAIL PROTECTED]>
03/23/2006 10:29 PM
To
Irfan J Sayed/India/[EMAIL PROTECTED]
cc
beginners@perl.org
Subject
Re: perl code help
On 3/23/06, Irfan
On 3/23/06, Irfan J Sayed <[EMAIL PROTECTED]> wrote:
>
>
> Hi Chas,
>
> This is the only program i am using.
>
> Plz tell me what i am doing wrong.
>
snip
>
> > Following is the script
> >
> > $sessionobj = $entity->GetSession();
> > $username = $session->GetUserLoginName();
> > $entity->SetFi
lly
don't know what all modules needs to be added to run this script.
plz help me.
Regards
Irfan Sayed
"Chas Owens" <[EMAIL PROTECTED]>
03/23/2006 10:53 PM
To
Irfan J Sayed/India/[EMAIL PROTECTED]
cc
beginners@perl.org
Subject
Re: perl code help
On 3/23/06, Irf
On 3/23/06, Irfan J Sayed <[EMAIL PROTECTED]> wrote:
> Hi Chas,
>
> Thanks for mail.
>
> I am writting this script in clearquest application and i really don't
> know what is the meaning of $entity. In clearquest language "An Entity
> object representing a user data record"
>
> and secound thing i
11 matches
Mail list logo