[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

difference between running perl from command line and web



Hi, 
	I am using the latest perl in potato. Can anyone help me with this
	problem?  
	
	Thanks.

Shao.

From: shao@linux.cia.com.au (Shao Zhang)
Newsgroups: comp.lang.perl.misc
Subject: difference between running perl from command line and web
Reply-To: shao@linux.cia.com.au
User-Agent: slrn/0.9.6.2 (Linux)
NNTP-Posting-Host: 203.63.219.44
Message-ID: <3973da8e@news>
Date: 18 Jul 2000 14:18:22 +1000
X-Trace: 18 Jul 2000 14:18:22 +1000, 203.63.219.44
Lines: 24
Path: news!shao
Xref: news comp.lang.perl.misc:319361

Hi,
	I am having some strange problems with perl.

	For example:

	$output = `echo name=value | lynx -post_data -dump
	"www.blah.com/cgi-bin/blah.cgi"`;

	Now, with earlier perl versions, this works from both command line and
	web(as an cgi program). However, recently, I upgraded to perl5.005 and
	now it only works from command line and not web anymore.

	Any ideas?

Shao.

-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au                                                  |___/ 
_____________________________________________________________________________



Reply to: