🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.cobol
Article #4

long lines suck -- usenet is not a wordprocessor (Was: COBOL <->Perl Interface...)

#4
From: Tom Christiansen
Date: Thu, 04 Jan 1996 20:49
24 lines
2460 bytes
In comp.lang.perl.misc, using X-Mailer: Mozilla 2.0b3 (X11; I; HP-UX
A.09.05 9000/715) "Khile T. Klock" <klockk@wsadmin2.cv.hp.com> writes:

    [followups redirected]

:I got a rather interesting question I am trying to find the answer to.

:We have a rather large software package running here that is written in COBOL.  This program as an overlaying user interface that is now written in C', creating an X-windows interface.  This software allows for user specified code to be input/compiled into certain points of it...  I've written a nice X-Type GUI interface for one of these user exits, written in perl5 w/Tk Exntentions.  Now the fun starts.. How to paste it all together.. I have information I need to compile C' code into the COBOL, and have 
things work, but I really need to get the COBOL program variables/data into the Perl program I've written.. I get this stuff into C with no problem.. So right now I'm thinking of passing the stuff to a C' program via  CALL "user_c" USING BLA-PARAMETER-LIST.  then having the C' code call perl to do it's stuff...  Is there a simply way to just pass data between perl and COBOL instead???  If Not... The question needs to be answered in the PERL groups... How can I access these variables from PERL... Is there a
n easy way to simply access the C' .h data structures from perl with out the need of C', or do I have the paste all three of these together...

Lovely.

Someday I'm going to track down the nitwit at Netscape who thinks
infinite line lengths are nifty and box their ears for ever letting
people send out messages with more 80 characters per line.  It's 
not cool.

--tom
-- 
Tom Christiansen      Perl Consultant, Gamer, Hiker      tchrist@mox.perl.com


Eschew polysyllabic glossolalia.
Technical Details
Message-ID: <4chegi$40b@csnews.cs.colorado.edu>
Path: arc1-ca.pugleaf.net!in1.uu.net!csnews!mox!tchrist
References: <30EC297D.5579@wsadmin2.cv.hp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!csnews!mox!tchrist
From: Tom Christiansen <tchrist@mox.perl.com>
Newsgroups: comp.lang.cobol,comp.lang.perl.misc,comp.lang.c,comp.infosystems.www.browsers.misc,comp.infosystems.www.browsers.ms-windows
Subject: long lines suck -- usenet is not a wordprocessor (Was: COBOL <->Perl Interface...)
Followup-To: comp.infosystems.www.browsers.misc,comp.infosystems.www.browsers.ms-windows
Date: 4 Jan 1996 20:49:22 GMT
Organization: Perl Consulting and Training
Message-ID: <4chegi$40b@csnews.cs.colorado.edu>
References: <30EC297D.5579@wsadmin2.cv.hp.com>
Reply-To: tchrist@mox.perl.com (Tom Christiansen)
NNTP-Posting-Host: perl.com
Originator: tchrist@mox