Thanks Barton!
That wasn’t exactly what I wanted but it helped me figure it out! btw I had to
capitalize Dumper in “print Dumper $client;” for it to work. But seeing
everything that came out of the “dumper” let me know the innards of the
RT::CustomFieldValue.
The code I ended up using:
my
In this case, $client is a reference to a hash. You can't print it
directly, but you can print the contents using Data::Dumper.
I think this should work:
use Data::Dumper;
my $clientcustomfield = RT::CustomFieldValues-new($RT::SystemUser);
$clientcustomfield-LimitToCustomField(45);
my $clients