Re: Trouble with activestate perl for windows
- From: tom@xxxxxxxxxxxxxx (Tom Phoenix)
- Date: Thu, 30 Aug 2007 07:22:26 -0700
On 8/29/07, Caduceus <kcom@xxxxxxxxxxxx> wrote:
Every time I try to use perl 5.8.8 I keep geting the error message
"Barewood found where operator expected at - line 1, near "/perl/bin"
<Missing operator before bin?>" What am I doing wrong here and how can
I fix it.
The message says that you're running a Perl program named '-', and the
error was discovered while processing line 1 of that file, where the
source text said something like "/perl/bin". The file probably isn't
named with just a hyphen; that's the name Perl uses when the program
didn't come from a true file (for example, when the program is
supplied on STDIN, or via the -e run-time switch).
I'm using activestate perl. The command I'm trying is
C:/Perl/bin/perl5.8.8.exe perl -v.
I'm not a Windows user, so I can't check this. But I think that the
free word "perl" in that command line is superfluous, isn't it? Maybe
you want this command:
C:/Perl/bin/perl5.8.8.exe -v
Good luck with it!
--Tom Phoenix
Stonehenge Perl Training
.
- References:
- Trouble with activestate perl for windows
- From: Caduceus
- Trouble with activestate perl for windows
- Prev by Date: parsing HTML content
- Next by Date: Re: Logging STDERR and other output
- Previous by thread: Re: Trouble with activestate perl for windows
- Next by thread: Appending a character to a field
- Index(es):
Relevant Pages
|
|