Re: Suddenly this script is not working!

2014-07-29 Thread ESChamp
Jim Gibson wrote on 7/29/2014 10:08 PM: > > On Jul 29, 2014, at 5:12 PM, ESChamp wrote: > >> ESChamp wrote on 7/28/2014 6:59 PM: >> >> Let me backtrack and provide some background information. >> >> This script processes two files, recapfile, a plain text file, and copy, >> and HTML-formatted

Re: Suddenly this script is not working!

2014-07-29 Thread Jim Gibson
On Jul 29, 2014, at 5:12 PM, ESChamp wrote: > ESChamp wrote on 7/28/2014 6:59 PM: >> Suddenly, without warning or error messages, the script below is >> producing null for values of $hfile and $bfile! >> >> The script begins: >> >> > > Let me backtrack and provide some background information

Re: Can't Install Mojolicious on Shared Server

2014-07-29 Thread Mike Flannigan
Thanks for the quick reply. I'll look into it. Mike On 7/29/2014 6:24 PM, Hao Wu wrote: use DigitalOcean about $5 a month. you get everything you need. I am running Dancer2 in DigitalOcean, runs great. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-

Re: Suddenly this script is not working!

2014-07-29 Thread ESChamp
ESChamp wrote on 7/28/2014 6:59 PM: > Suddenly, without warning or error messages, the script below is > producing null for values of $hfile and $bfile! > > The script begins: > > #!/usr/bin/perl > > use Tie::File; > use File::Copy 'copy'; > use File::Spec; > > > and further down, it has: > >

Re: Can't Install Mojolicious on Shared Server

2014-07-29 Thread Hao Wu
use DigitalOcean about $5 a month. you get everything you need. I am running Dancer2 in DigitalOcean, runs great. On Tue, Jul 29, 2014 at 4: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

Can't Install Mojolicious on Shared Server

2014-07-29 Thread Mike Flannigan
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 a shared server as to install any custom modules you will need root

Re: Suddenly this script is not working!

2014-07-29 Thread Kent Fredric
The script begins: > > #!/usr/bin/perl > > use Tie::File; > use File::Copy 'copy'; > use File::Spec; > > I think this problem becomes much clearer if you enable strict. -- [ A.pl ] --- my @list = qw( a b c ); print "X $list Y"; -- [ A.pl output ] -- X Y -- [ B.pl ] -- use strict; my @list =

Re: Suddenly this script is not working!

2014-07-29 Thread Jim Gibson
On Jul 28, 2014, at 3:59 PM, ESChamp wrote: > Suddenly, without warning or error messages, the script below is > producing null for values of $hfile and $bfile! What are $hfile and $bfile? You don’t show them in your script. You show two arrays: @hfile and @bfile, but those are not the same as

Re: Suddenly this script is not working!

2014-07-29 Thread David Precious
On Mon, 28 Jul 2014 20:48:51 -0400 Shawn H Corey wrote: > > copy $htmfile, $copy; > > # always check for error > copy $htmfile, $copy or die "could not copy $htmlfile\n"; And even more helpfully, include in the message $! - which will contain the error message to show you what actually went w