Except Jordan Henderson didn't copy the list with his example.  

And, I'm glad, because so many more and better examples came after that it would
have been embarrassing.  :-)

Jordan Henderson
Compaq Services - Contracted to DAASC
Phone: (937) 656 3804

Trying is the first step to failure.   -Homer J. Simpson 

 






> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 3:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to include Perl statements in DCL?
> 
> 
> "Craig A. Berry" <[EMAIL PROTECTED]> wrote on Thu, 04 Oct 
> 2001 13:56:07 -0500
> in <[EMAIL PROTECTED]>:
> 
> > At 02:40 PM 10/4/2001 -0400, Ed James, 410-295-1919, 
> [EMAIL PROTECTED] 
> > wrote:
> > 
> > >I have tried various ways of using the "deck/dollars=" 
> command, but have
> > >not gotten any way of getting it to work.
> > >
> > >I would like to have the Perl statements in-line in the 
> DCL file, something
> > >like this:
> > >
> > >    $ <other DCL>
> > >    $ perl <with maybe some magic?>
> > >    $ deck /dollars="__PERL_STATEMENT_END__"
> > >    <perl statements>
> > >    __PERL_STATEMENT_END__
> > >    $ <other DCL>
> > 
> > Well, this works in [.vms]test.com. (note: the use of MCR 
> is just because Perl 
> > may not have been installed when running the test suite.):
> > 
> > $   MCR Sys$Disk:[]Perl. "-I[-.lib]" - "''p3'" "''p4'" 
> "''p5'" "''p6'"
> > $   Deck/Dollar=$$END-OF-TEST$$
> > 
> > . . .
> > 
> > $$END-OF-TEST$$
> > $ wrapup:
> >  . . . .
> > 
> > 
> > Ah!  I think your problem is that the value of the /DOLLARS 
> qualifier is 
> > limited to 15 characters and you've got 22.
> 
> As I found out when trying Jordan Henderson's example that 
> worked and mine
> didn't!  And I used other wordy strings in all my tests!
> 
> "What a Maroon!"
> 
> I apologize for the spam, and thank you for reminding me to RTFM.
> 
> Ed James                           [EMAIL PROTECTED]
> TeleCommunications Systems, Inc.   voice 410-295-1919
> 2024 West Street, Suite 300              800-810-0827 x1919
> Annapolis, MD 21401-3556           fax   410-280-1094
> 

Reply via email to