LJ, Well I'll be... There looks like there is an ars_CreateContainer function in ARSPerl 1.91. ( If I poke around in the ARS.xs, and PM, file it looks like the function is there.) However, there appears to be no manual page for the function. Hum... I wonder if that means it is not fully implemented?
Anyway... The signature of the ars_CreateContainer looks like this... ars_CreateContainer( ctrl, containerDefRef, removeFlag=TRUE ) ARControlStruct * ctrl SV * containerDefRef ARBoolean removeFlag; FWIW the C API guide describes the removeFlag as this: " removeFlag A flag specifying how invalid object references are removed when the container is created. If FALSE, references to nonexistent AR System objects will be removed with no error generated. If TRUE, an error will be generated. " As far as how to create the "containerDefRef"... I am not sure, but you could take a stab with the results form the ars_GetContainer. Good luck. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. On Wed, Sep 17, 2008 at 11:40 PM, LJ Longwing <[EMAIL PROTECTED]> wrote: > Hey...I'm new to this list...so please go easy on me. > > ARS 7.1 Patch 2 > ARSPerl 1.90 > ActivePerl-5.8.8.819 > Windows 2003 > > I've been using ARSPerl for quite some time, but mainly the client > functions. I'm writing a script with the intention of taking 2 packing list > names, determining if one of them exists, if not, create it, if it does I > want to add the contents of pl1 to pl2 and update to the server. I've been > using the Java 7.1 API and have done this there...but I don't want to write > an entire program and hafta call it from my perl script to get this done. I > have successfully used ars_GetContainer, and determined if pl2 exists on the > server, I'm at the point where I'm trying to create a new container and > can't find ANY good documentation about how to create the hash in question. > Any and all help is appreciated, most preferable of course would be a > snippet of code that would create a 'blank' packing list. > > Thanks for your time. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users