Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 31st, 2025, 9:43 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Call remote Perl script
PostPosted: June 23rd, 2005, 12:32 pm 
Offline

Joined: June 23rd, 2005, 11:57 am
Posts: 3
Hello All

I’m try to call a Perl script from my CD to return a variable, I cant seem to get the value of variable. If I post it on a web server it works, Here is what the Perl script looks like.

print "Content-type: text/html\n\n";
print "&Data=Hello World.";
exit;

I have also tried:

print "Content-type: text/javascript\n\n";
$Data = "Hello World";
print "var Data = $Data \n\n";
exit;

I'm using the "post web data action" with the destination variable of "Data" set.


Top
 Profile  
 
 Post subject:
PostPosted: June 26th, 2005, 3:45 pm 
Offline

Joined: November 28th, 2004, 6:05 am
Posts: 141
Location: USA
Hi Newbie

I'm not quite clear on what your trying to do here

From your post it seems you are calling a perl script
which is on the CD ???

Chris

_________________
Opus Resources and Services


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 27th, 2005, 10:13 am 
Offline
User avatar

Joined: October 25th, 2004, 10:33 am
Posts: 257
Location: UK
Opus: Pro 8
OS: Windows 7 Professional x64
System: Dell XPS15 i7x4 2.1Ghz 6GB 128GB SSD
I think you probably want:

print "Data=Hello World.";


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 30th, 2005, 7:51 am 
Offline

Joined: June 23rd, 2005, 11:57 am
Posts: 3
Yes Chris a compiled Perl script from the CD-ROM


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group