Thomas R Wyant_III <[EMAIL PROTECTED]> wrote:
> "Vorl�nder, Martin" <[EMAIL PROTECTED]> wrote:
> > IIRC, perl's system() function spawns on VMS, so the easiest
> > way probably is (untested!)
> >
> > $pages = $pdf->Pages;
> > system("PDFPAGES == $pages");
>
> Not useful, for pretty much the same reason system ("set default [foo]")
> is not useful. DCL symbols are local to a process. The proposed code
> spawns a subprocess and creates DCL symbol PDFPAGES in that
> subprocess.
> The subprocess then exits, and the DCL symbol disappears.
You're right, of course. Apologies for causing confusion.
Guess I'm doing too much *ix lately.
But you *could* set a (job) logical in the spawned process.
cu,
Martin
--
So long, and thanks | Martin Vorlaender | OpenVMS rules!
for all the books... | work: [EMAIL PROTECTED]
In Memoriam Douglas Adams | http://www.pdv-systeme.de/users/martinv/
1952-2001 | home: [EMAIL PROTECTED]