Re: Trouble with activestate perl for windows



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
.



Relevant Pages

  • Re: Wait for background processes to complete
    ... To be able to execute commands in the background and wait for their ... The documentation I am referring to is http://perldoc.perl.org/. ... You can run a command in the background with: ... There is a general problem with perl documentation: ...
    (comp.lang.perl.misc)
  • Re: Perl For Amateur Computer Programmers
    ... >professional computer programmers could use with the same ease as Basic. ... >Perl For Amateur Computer Programmers ... Also, taking into account that you're appealing to "scientists", it ... Also, as a side note, you seem to use the noun "command" in a naive ...
    (comp.lang.perl.misc)
  • Obtaining complete Unix command line that evoked script as string
    ... If there is a more appropriate list for this, let me know; the other perl lists I've seen seem to specialised for this. ... Note this is not just the arguments of the call to the script, but everything including pipes and redirects, etc., e.g. ... Ideally the perl interpreter would grab the complete command line as its evoked and I'd access this via a variable. ...
    (perl.beginners)
  • Thanks for the comments Jan. 25, 2006
    ... "shadow" operating system which is running behind Windows. ... Perl can then collect data from that program and do ... that by sending longer strings etc. to the Windows clipboard and then having ... SendKeysuse a Ctrl V command to paste the information to the text editor ...
    (comp.lang.perl.misc)
  • Re: CLOSING Re: Obtaining complete Unix command line that evoked script as string
    ... > To: Grant Jacobs; beginners perl ... > perl and less, much less passing that information along to either ... Only shell that launched them is keeping track of the I/O ... > command is executed. ...
    (perl.beginners)