in reply to I am making progress but code not running exactly right yet...

I am beginning to wonder if PERL even works!

Well, had you read the manual... the pain starts with the blank second line. Don't do that! Fill that gap, here's how. Insert the following below the first line

open O, "| command.com"; print O while <DATA>; __DATA__
and the noise will go away (on windows, that is).

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re: I am making progress but code not running exactly right yet...
  • Download Code

Replies are listed 'Best First'.
Re^2: I am making progress but code not running exactly right yet...
by moklevat (Priest) on Feb 14, 2007 at 19:57 UTC

    From the comments it's clear that the code is meant to run under NT 4, so your suggestion is an excellent one shmem. Perhaps you could submit that as a new module on CPAN called dos2perl?

    Kevin, you should also add:

    use strict; use warnings;