What is a prompt package that actually works on Windows

2006-06-13 Thread Michael Goldshteyn
It is definitely not IO::Prompt and it is most likely not anything that has a Term::ReadKey dependency. Thanks for any suggestions -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl script to search and replace a string in a file

2006-06-02 Thread Michael Goldshteyn
"Paul Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, Jun 01, 2006 at 08:11:49AM -0500, Michael Goldshteyn wrote: > >> "Ricky Zhou" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> > perl

Re: Perl script to search and replace a string in a file

2006-06-01 Thread Michael Goldshteyn
"Ricky Zhou" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > perl -pi -e 's/original text/new text/g' * Error: Can't do inplace edit without backup. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Module installation problem "Set::Array" and "Want.pm"

2006-05-19 Thread Michael Goldshteyn
I would try to do the make manually for Want.pm and see what errors crop up... "Graeme McLaren" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, I tried installing Set::Array and I got the following error: > > # Failed test 'use Set::Array;' > # in t/test.t at line 7. >

Re: reading a line at a time inefficient?

2006-05-16 Thread Michael Goldshteyn
In a nutshell, use File::Slurp to read the entire file all at once. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Why does dir produce different results when called from Perl

2006-04-06 Thread Michael Goldshteyn
"Jay Savage" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 4/6/06, Michael Goldshteyn <[EMAIL PROTECTED]> wrote: >> Point taken about the call to join(). >> >> With regards to the difference between the two samples, the differenc

Re: Why does dir produce different results when called from Perl

2006-04-06 Thread Michael Goldshteyn
The answer to my own question in the OP. There is a difference, because the following should be performed to get the behavior of: dir | perl -pne "" perl -e "print `cmd /C dir`;" the cmd /C part is required to get equivalent behavior. Mystery solved! "Michael Gold

Re: Why does dir produce different results when called from Perl

2006-04-06 Thread Michael Goldshteyn
how many bytes are free. DIR when called through back-ticks only shows the file names of the files in the directory specified. Nothing more and nothing less. "Jay Savage" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 4/6/06, Michael Goldshteyn <[E

Re: Why does dir produce different results when called from Perl

2006-04-06 Thread Michael Goldshteyn
What does different environments mean? Why should the two uses of dir differ in their output? "Mr. Shawn H. Corey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, 2006-06-04 at 10:42 -0500, Michael Goldshteyn wrote: >> That is, why does

Why does dir produce different results when called from Perl

2006-04-06 Thread Michael Goldshteyn
That is, why does the output differ between: perl -e "print join(\"\n\",@{[`dir`]});" and dir | perl -pne "" -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]