Sisyphus wrote:
>  
> Robert Johnson wrote:
> > 
> > Hmm.  I tried doing a `type filename.txt`, and perl always  
> > returns "filename.txt not found"
> > 
> > (note:  <filename.txt> does exist in the working directory, and 
> > entering "type filename.txt" from the MS command window 
> > prompt works as designed)
> > 
> 
> That's bizarre.
> Could there be some shell (ie other than cmd.exe) interfering 
> here ? I think the 'type' command means something different in 
> other shells.

I haven't installed any other shells (on purpose, anyhow)
At any rate, I only ever use the <cmd.exe> shell

> 
> > This happens on both my recent build of 5.8.6, and my previous 
> > installation of ActiveState's binary build, which is 5.8.1.
> > 
> > I suspect there is something wrong on my end, a setup or config 
> > file, or environment variable, or something.   But I'm pretty 
> > clueless about windows.
> > 
> > On the other hand, is this even worth chasing down?  Does 
> > `type get used much in the perl modules?  I never even heard 
> > of this command before today.   (I said I was clueless....)
> > 
> 
> Well .... the test script is not actually testing the 'type' command. 
> It's using the 'type' command to test other things - and in your case 
> `type ...` is not working as expected. 

Right.  I was just wondering how important the `type command 
is to win32 perl in general.   If I left this unfixed, what 
Functions would be broken?  Maybe I could live with it...

> It would be good to understand why that is - especially if it means 
> that the test scripts need to be modified.
> 
> Unless you're somehow invoking another shell from perl (maybe bash?), 
> I'm at a loss to understand what's going on.
> 
> Did you build your perl in the MS command (cmd.exe) shell ?

yes

> Do you normally run your perl scripts in the cmd.exe shell ? 

yes

> Did you alter the line that begins "#SHELL" in the 
> configurable section of makefile.mk ?

no

> 
> (Answers should be "yes", "yes", "no" - in that order.)

Heh...  Of course those would have been my answers even without the key


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to