a bit of apache + fcgid by Pawel Eljasz- April 28, 2008 egards everybodyjust subscribed, and as always for simple reason - a problemas in subject, php is just fine but perl script, apache does not implement suexec, apache uses fcgid_module (static)whereas below lines are fine from within shell, apache+fcgid do not want to work! usrbinperluse FCGI;my $request = FCGI::Request();while($request->Accept() >= 0) print "Content-type: texthtmlnn"; print "<H1><b>Hello World!<b><H1>"; exit 0;causes...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/04/msg13199.html Re: Variable empty in try block by Tom Storey- April 27, 2008 Nevermind. A semicolon at the end of the otherwise block did the trick. ;-)Thanks all.> Hi,>> Im unsure if this is 100% the correct list, but I am using Perl to form> dynamic web pages (CGI afaik) so I&39;ll give it a shot.>> I have a script which implements a try-catch block. Before entering the> try portion of this block, I am defining a variable and placing some> content into it, which is a hash table.>> The problem seems to be that when I go to access this...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/04/msg13198.html Variable empty in try block by Tom Storey- April 27, 2008 Hi,Im unsure if this is 100% the correct list, but I am using Perl to formdynamic web pages (CGI afaik) so I&39;ll give it a shot.I have a script which implements a try-catch block. Before entering thetry portion of this block, I am defining a variable and placing somecontent into it, which is a hash table.The problem seems to be that when I go to access this variable inside thetry block, and subsequently any catch blocks, or the otherwise block, thevariable seems to be empty.Here is a snip of..http://www.nntp.perl.org/group/perl.beginners.cgi/2008/04/msg13197.html Re: Opening a File in its Native Application by Ken Foskey- April 25, 2008 On Fri, 2008-04-25 at 10:09 -0700, Lynn Etheredge wrote:> Hi,> I would like to create a button on a web page that opens a file in> it&39;s application (ie. open a scientific file in it&39;s native> application). My file does not have an extension and so I think it> probably will not open automatically with the system("start docname")> command.The start by extension is a feature of the DOS shell. You can start anyprogram that way. start myprog filenameKenhttp://www.nntp.perl.org/group/perl.beginners.cgi/2008/04/msg13196.html Re: Opening a File in its Native Application by Owen- April 25, 2008 > Hi,> I would like to create a button on a web page that opens a file in it&39;s> application (ie. open a scientific file in it&39;s native application). My> file does not have an extension and so I think it probably will not open> automatically with the system("start docname") command.> Thank you,> Lynn>>>> ----- Original Message ----> From: Owen <rcookpcug.org.au>> To: beginners-cgiperl.org> Sent: Wednesday, April 23, 2008 11:11:37...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/04/msg13195.html Re: Opening a File in its Native Application by Greg Jetter- April 25, 2008 On Friday April 25 2008 9:09 am, Lynn Etheredge wrote:> Hi,> I would like to create a button on a web page that opens a file in it&39;s> application (ie. open a scientific file in it&39;s native application). My> file does not have an extension and so I think it probably will not open> automatically with the system("start docname") command. Thank you,> Lynn>>>Are you looking to embed your application inside the client...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/04/msg13194.html Re: Opening a File in its Native Application by Lynn Etheredge- April 25, 2008 Hi,I would like to create a button on a web page that opens a file in it&39;s application (ie. open a scientific file in it&39;s native application). My file does not have an extension and so I think it probably will not open automatically with the system("start docname") command. Thank you,Lynn----- Original Message ----From: Owen <rcookpcug.org.au>To: beginners-cgiperl.orgSent: Wednesday, April 23, 2008 11:11:37 PMSubject: Re: Opening a File in its Native...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/04/msg13193.html Re: Opening a File in its Native Application by Owen- April 23, 2008 On Wed, 23 Apr 2008 17:34:25 -0700 (PDT)Lynn Etheredge <etheredge_lynnyahoo.com> wrote:> Hi,> > I would like to open a file in it&39;s native application. It doesn&39;t have a specified extension, however, so I would need to specify the application somehow. I saw > > system("start docname")> > but this doesn&39;t specify the application. I am not sure what you really want to do. As this is a &39;cgi&39; list I presume you want to open up a file so it can..http://www.nntp.perl.org/group/perl.beginners.cgi/2008/04/msg13192.html Opening a File in its Native Application by Lynn Etheredge- April 23, 2008 Hi,I would like to open a file in it&39;s native application. It doesn&39;t have a specified extension, however, so I would need to specify the application somehow. I saw system("start docname")but this doesn&39;t specify the application. Thank you,Lynn ____________________________________________________________________________________Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http:mobile.yahoo.com;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJhttp://www.nntp.perl.org/group/perl.beginners.cgi/2008/04/msg13191.html Re: Insecure dependency in eval message by Greg Jetter- April 13, 2008 On Sunday April 13 2008 6:12 am, dylanthomasfan wrote:> Hi,>> I am a Perl CGI beginner. I am trying to construct perl statements to> do depending on user input, and interpret them at runtime using eval.> I execute these commands by writing>> eval $commandString;>> where $commandString is constructed as per user input.>> if $commandString="simpleSubroutine();" my eval works well, but if>...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/04/msg13190.html |