my $NUMBER = 5; for local $NUMBER ( 0 .. 3 ) { print $NUMBER,"\n" }

2001-02-10 Thread James E Keenan
On Sat, 10 Feb 2001 13:39:20 -0500, "Ron Grabowski" <[EMAIL PROTECTED]> wrote of problems with this coding: >>> use strict; my $NUMBER = 5; for local $NUMBER ( 0 .. 3 ) { print $NUMBER, "\n"; } $NUMBER is declared elsewhere in my program as a lexical variable so I'd like to preserve its va

Re: Ftp: Bad remote filename

2001-02-10 Thread $Bill Luebkert
Marcus wrote: > > Net::FTP is refusing to upload a filename containing a space. It > returns "Bad remote filename". Or is it just the way I have quoted: > > my $result = $ftp->put('d:/test/a file.txt', '/home/me/htdocs/test/a > file.txt'); > > As you can see I'm uploading from Windows to a *nix

Ftp: Bad remote filename

2001-02-10 Thread Marcus
Net::FTP is refusing to upload a filename containing a space. It returns "Bad remote filename". Or is it just the way I have quoted: my $result = $ftp->put('d:/test/a file.txt', '/home/me/htdocs/test/a file.txt'); As you can see I'm uploading from Windows to a *nix server. I don't think it's the

Re: my $NUMBER = 5; for local $NUMBER ( 0 .. 3 ) { print $NUMBER,"\n" }

2001-02-10 Thread Scott F
From: "Ron Grabowski" <[EMAIL PROTECTED]> Subject: my $NUMBER = 5; for local $NUMBER ( 0 .. 3 ) { print $NUMBER,"\n" } > use strict; > > my $NUMBER = 5; > > for local $NUMBER ( 0 .. 3 ) { > print $NUMBER, "\n"; > } > > > C:\temp>perl -w foo2.pl > Missing $ on loop variable at foo2.pl line 5. >

my $NUMBER = 5; for local $NUMBER ( 0 .. 3 ) { print $NUMBER,"\n" }

2001-02-10 Thread Ron Grabowski
use strict; my $NUMBER = 5; for local $NUMBER ( 0 .. 3 ) { print $NUMBER, "\n"; } C:\temp>perl -w foo2.pl Missing $ on loop variable at foo2.pl line 5. Could someone explain to me why this is the case? $NUMBER is declared elsewhere in my program as a lexical variable so I'd like to preserve

HTML::TokeParser question re: scalar variables

2001-02-10 Thread Gary Nielson
I am trying to parse a scalar variable instead of opening a file, using HTML::TokeParser. The man page says the argument can be a file name, or complete document. "If the argument is a reference to a plain scalar, then this scalar is taken to be the document to parse." Here's what I am trying to

Re: Printing Files via Microsoft Word

2001-02-10 Thread James E Keenan
In response to my original query and other contributions to this thread, [EMAIL PROTECTED] wrote on 2/9: >>> Did you consider the non-perl solution? 1. Open Windows Explorer and navigate to the CD-ROM 2. Click the 'type' column, so that all the word documents are together 3. Make sure the print

Re: Perl App or something similar .. . . . .

2001-02-10 Thread Marcus
On 09.02.01 at 10:05 Jan Dubois wrote: >That may be a good reason to use Perl2Exe Lite for Win32. But as soon as >you want any of the features of Perl2Exe Pro for Win32, the PDK is already >cheaper and you get all the other tools too. On that subject, does PerlApp create smaller executables than