Re: Which perl for Windows?

2014-08-05 Thread Octavian Rasnita
From: "ESChamp" Which perl should I (an occaisonal perl user, a rare perl programmer) use? I see cygwin strawberry perl activestate perl dwim perl ??? Thanks. It depends on your preferences and on what you need to do with it. Perl has a Unix origin so almost all Perl users use it on a

Re: Suddenly.... Part 2

2014-08-05 Thread Rob Dixon
On 05/08/2014 19:13, ESChamp wrote: Here's a small portion of my script: Excuse me for my confusion as I missed "Suddenly - Part 1". Are Peter Holsberg and ESChamp one and the same, as they both seem to be driving this thread? Rob --- This email is free from viruses and malware because

Re: Which perl for Windows?

2014-08-05 Thread Rob Dixon
On 05/08/2014 22:20, ESChamp wrote: Which perl should I (an occaisonal perl user, a rare perl programmer) use? I see cygwin strawberry perl activestate perl dwim perl - Cygwin is an attempt to put a Unix-like environment on top of Windows. If you want to work with a Windows command line then

Re: Which perl for Windows?

2014-08-05 Thread Phil Pinkerton
Strawberry Sent from my iPhone > On Aug 5, 2014, at 2:20 PM, ESChamp wrote: > > Which perl should I (an occaisonal perl user, a rare perl programmer) > use? I see > > cygwin > strawberry perl > activestate perl > dwim perl > > ??? > > Thanks. > > -- > To unsubscribe, e-mail: beginners-unsu

Re: Which perl for Windows?

2014-08-05 Thread Mike D
Strawberry On Aug 5, 2014 4:20 PM, "ESChamp" wrote: > Which perl should I (an occaisonal perl user, a rare perl programmer) > use? I see > > cygwin > strawberry perl > activestate perl > dwim perl > > ??? > > Thanks. > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional

Which perl for Windows?

2014-08-05 Thread ESChamp
Which perl should I (an occaisonal perl user, a rare perl programmer) use? I see cygwin strawberry perl activestate perl dwim perl ??? Thanks. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Suddenly.... Part 2

2014-08-05 Thread Carl Inglis
I'd start by adding: use warnings; use strict; at the top just above "use Tie::File;" That way you'll find out about any syntax errors or warnings. Not that I can see any. I'd then try a simple open(my $fh, "+<", "00-copy.htm") or die "cannot open 00-copy.htm: $!"; If that works then

Re: Suddenly.... Part 2

2014-08-05 Thread ESChamp
Here's a small portion of my script: #!/usr/bin/perl use Tie::File; use File::Copy 'copy'; use File::Spec; my $copy="00-copy.htm"; my $recapfile="00recap.txt"; my $htmfile="00.htm"; tie my @hfile, 'Tie::File', $copy or die "cannot tie copy and hfile $!"; tie my @bfile, 'Tie::File',