Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: I am making progress but code not running exactly right yet...

by shmem (Chancellor)
on Feb 14, 2007 at 14:26 UTC ( [id://599954]=note: print w/replies, xml ) Need Help??


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}

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;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://599954]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-03-28 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found