[p4perl] Problem Running P4Perl Based Triggers After LinuxSystemUpdate

Scott Lavender Scott.Lavender at visiprise.com
Fri May 9 06:21:42 PDT 2008


This is usually how I do things with P4Perl. Usually these return a
scalar reference to an array or hash that can be dereferenced later.
Maybe Tony can set me straight... ;) 

-----Original Message-----
From: Peter Prymmer [mailto:PPrymmer at factset.com] 
Sent: Friday, May 09, 2008 9:03 AM
To: Scott Lavender
Cc: p4perl at perforce.com; Tony Smith
Subject: Re: [p4perl] Problem Running P4Perl Based Triggers After
LinuxSystemUpdate

Did you intend to write this (apparently storing a list in a scalar 
variable):

# Try getting list of all Jobs
my $jobs = $p4->RunJobs();

Or had you intended to write:

# Try getting list of all Jobs
my @jobs = $p4->RunJobs();

instead?

Peter Prymmer




More information about the p4perl mailing list