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 shawnhco...@gmail.com 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

Re: Suddenly this script is not working!

2014-07-29 Thread Jim Gibson
On Jul 28, 2014, at 3:59 PM, ESChamp esch...@gmail.com 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

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 = qw( a b

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: 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 mikef...@att.net wrote: I pay about $8 per month for a shared server hosting at Hostgator. I recently asked Hostgator to install

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: # Tie it to

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,

Re: Suddenly this script is not working!

2014-07-29 Thread Jim Gibson
On Jul 29, 2014, at 5:12 PM, ESChamp esch...@gmail.com 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