Re: Could not open testfile.txt: No such file or directory by Beginner- May 30, 2008 Hi,Did you mean to mail the cgi listOn 30 May 2008 at 13:04, Mimi Cafe wrote:> use constant DEFAULT_REPORTDIR => ".compare_report";Is this a windows path You can and probably should always use &39;&39; for directory path separators or in this case &39;compare_report&39; would do.> my $master_list = "";> my compare_lists = "";> my $help = "";> > Getopt::Long::Configure ("ignorecase");> > GetOptions(> ...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/05/msg13207.html Re: Could not open testfile.txt: No such file or directory by Matthew Whipple- May 30, 2008 On Fri, 2008-05-30 at 13:04 +0100, Mimi Cafe wrote:> Still cannot see why Perl complains that Could not open file for reading.> File or directory does exist.> I have modified my script and now using Getopt::Long module instead of the> ARGV variable. Can someone take a look> > The script is now run with command line options like this:> myscript --master --compare file_name --compare another_fileAre you missing a "file_name" in that command templateDoes this work...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/05/msg13206.html Could not open testfile.txt: No such file or directory by Mimi Cafe- May 30, 2008 Still cannot see why Perl complains that Could not open file for reading.File or directory does exist.I have modified my script and now using Getopt::Long module instead of theARGV variable. Can someone take a lookThe script is now run with command line options like this:myscript --master --compare file_name --compare another_fileHere is a section of the scriptuse strict;use warnings;use diagnostics;use Getopt::Long;use constant DEFAULT_REPORTDIR => ".compare_report";my...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/05/msg13205.html Re: Using a CMS with cgi scripts by Sean Davis- May 29, 2008 On Thu, May 29, 2008 at 9:26 AM, JUSTIN R COLON <jrc5076psu.edu> wrote:> Hello I have begun to use a CMSweb development tool named Joomla and I was> wondering if you had any> information on implementing perlcgi scripts into this CMS or if there is> another CMS that would be better to use if i needed to use cgi and> perl.I don&39;t know anything about joomla, CGI scripts are separate programsthat execute independently. In that sense, there is nothing thatneeds to be...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/05/msg13204.html Using a CMS with cgi scripts by JUSTIN R COLON- May 29, 2008 Hello I have begun to use a CMSweb development tool named Joomla and I waswondering if you had anyinformation on implementing perlcgi scripts into this CMS or if there isanother CMS that would be better to use if i needed to use cgi andperl.Any help would be appreciated,Justinhttp://www.nntp.perl.org/group/perl.beginners.cgi/2008/05/msg13203.html Re: Include PHP file inside the cgi script by Peter Scott- May 28, 2008 On Mon, 26 May 2008 09:47:09 +0530, sivasakthi wrote:> Is it possible to include php file inside the cgi script> > I need defined php variable (from php files) inside the cgi script.. > > how can i achieve thatRead the PHP file in as ordinary text, look for the variable definition,parse out the value assigned. Assuming it&39;s a straightforward variable =value statement. If it&39;s computed in some way, that won&39;t work.-- Peter...http://www.nntp.perl.org/group/perl.beginners.cgi/2008/05/msg13202.html : Include PHP file inside the cgi script by Aydar Khabibullin- May 26, 2008 http:search.cpan.orgesummersPHP-Include-0.2libPHPInclude.pm2008526, sivasakthi <msivasakthigmail.com>:> Hi all,>>> Is it possible to include php file inside the cgi script>> I need defined php variable (from php files) inside the cgi script..>> how can i achieve that>>> Thanks,> Siva>-- Aydar F. Khabibullinhttp://www.nntp.perl.org/group/perl.beginners.cgi/2008/05/msg13201.html Include PHP file inside the cgi script by sivasakthi- May 25, 2008 Hi all,Is it possible to include php file inside the cgi scriptI need defined php variable (from php files) inside the cgi script.. how can i achieve thatThanks,Sivahttp://www.nntp.perl.org/group/perl.beginners.cgi/2008/05/msg13200.html |