Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by shmem (Canon)
on Feb 14, 2007 at 14:26 UTC ( #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}


Comment on Re: I am making progress but code not running exactly right yet...
Download Code
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
Node Status?
node history
Node Type: note [id://599954]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2014-09-01 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (299 votes), past polls