Suddenly.... Part 2

2014-07-30 Thread Peter Holsberg
I think I've isolated the section that is not doing what I want. open (FHIN, "$recapfile") or die $!; my $indexb; ## for the recapfile array my $ofile; # Create new array containing all the lines of recapfile up to # the string RESULTS OF BOARD 1 XYZZY: while () {

Re: Can't Install Mojolicious on Shared Server

2014-07-30 Thread Octavian Rasnita
From: "Mike Flannigan" Interestingly Hostgator already has Catalyst installed, so for now I'm going to give that a try. Mike Catalyst can be used with the CGI interface, but it would be very slow, so not recommended at all. Octavian -- To unsubscribe, e-mail: beginners-unsubscr..

Re: Can't Install Mojolicious on Shared Server

2014-07-30 Thread Mike Flannigan
Interestingly Hostgator already has Catalyst installed, so for now I'm going to give that a try. Mike On 7/29/2014 6:25 PM, Mike Flannigan wrote: I pay about $8 per month for a shared server hosting at Hostgator. I recently asked Hostgator to install Mojolicious on my account because I wan

Re: Why Does the Following Not Work?

2014-07-30 Thread Jim Gibson
On Jul 30, 2014, at 1:23 PM, Martin G. McCormick wrote: > I thought that one could test for an empty or undefined array > against the @arrayname but it looks like doing that always > succeeds if it is set with my or our @arrayname. You can test for an empty or an undefined array. Any array in sc

Re: Why Does the Following Not Work?

2014-07-30 Thread John SJ Anderson
> die("***YOU MUST HAVE A DESTINATION ADDRESS/NETWORK address.\n") > if (@destinations); Don't you mean 'if !@destinations' or 'unless @destinations' here? That test is for whether @destinations has any entries. % perl -E 'my @x=(); say "lives" if (@x)' % perl -E 'my @x=(1); say "dies" if (@x)'

Re: Why Does the Following Not Work?

2014-07-30 Thread Martin G. McCormick
Ken Slater writes: > Your logic is backwards. You are testing for at least one destination with > no from_addresses. First, thank you. This actually gets more strange. I took out the && and left only a statement that tests: die("***YOU MUST HAVE A DESTINATION ADDRESS/NETWORK addr

Re: Why Does the Following Not Work?

2014-07-30 Thread Ken Slater
On Wed, Jul 30, 2014 at 2:27 PM, Martin G. McCormick < mar...@server1.shellworld.net> wrote: > There are two arrays or lists. One is called > @from_addresses and the other is @destinations. For the program > to work, there must be at least one, possibly many strings in > each of those arra

Why Does the Following Not Work?

2014-07-30 Thread Martin G. McCormick
There are two arrays or lists. One is called @from_addresses and the other is @destinations. For the program to work, there must be at least one, possibly many strings in each of those arrays. Never under any circumstance should there be an empty @destinations list when there is even one st

Re: Suddenly this script is not working!

2014-07-30 Thread Jim Gibson
On Jul 29, 2014, at 11:00 PM, ESChamp wrote: > Jim Gibson wrote on 7/29/2014 10:08 PM: >>> > >> This is all speculation because you have not provided us with your exact >> program and data files. > > I was warned not to post a 3000 line data file and a 150 line program, > but if you'd like me

Re: Suddenly this script is not working!

2014-07-30 Thread David Precious
On Wed, 30 Jul 2014 11:55:46 -0400 ESChamp wrote: > Robert Wohlfarth wrote on 7/30/2014 10:31 AM: > > On Wed, Jul 30, 2014 at 1:00 AM, ESChamp > > wrote: > > > > 0D 0A 3C 70 72 65 3E 0D 0A > > > > so no invisible characters. > > > > > Or maybe occurs on

Re: Suddenly this script is not working!

2014-07-30 Thread ESChamp
Robert Wohlfarth wrote on 7/30/2014 10:31 AM: > On Wed, Jul 30, 2014 at 1:00 AM, ESChamp > wrote: > > 0D 0A 3C 70 72 65 3E 0D 0A > > so no invisible characters. > > > Or maybe occurs on the first line, in which case $index will have > the value 0, which i

Re: Suddenly this script is not working!

2014-07-30 Thread Robert Wohlfarth
On Wed, Jul 30, 2014 at 1:00 AM, ESChamp wrote: > 0D 0A 3C 70 72 65 3E 0D 0A > > so no invisible characters. > > > Or maybe occurs on the first line, in which case $index will have > the value 0, which is treated as false, and your program will die. > > is line 709. No other line is simply H

Re: Can't Install Mojolicious on Shared Server

2014-07-30 Thread David Precious
On Tue, 29 Jul 2014 18:25:34 -0500 Mike Flannigan wrote: > I pay about $8 per month for a shared server hosting > at Hostgator. I recently asked Hostgator to install > Mojolicious on my account because I wanted to migrate > away from CGI. > > Hostgator tells me they can't install Mojolicious "on