Loading ...
Sorry, an error occurred while loading the content.

Re: faking an interactive perl interpreter (was Re: [XP] Dark Star)

Expand Messages
  • James LewisMoss
    ... Bill From: Dossy ... Bill Woohoo!!! Somebody replied to my message! ;-) ... Bill Yes, that s almost exactly it, for me, though
    Message 1 of 52 , Feb 1, 2001
    • 0 Attachment
      >>>>> On Wed, 31 Jan 2001 10:28:20 -0800, "Bill Kelly" <billk@...> said:

      Bill> From: "Dossy" <dossy@...>
      >>

      >> On 2001.01.31, David Corbin <dcorbin@...> wrote:
      >> > Would you care ot provde your "endless-loop-perl" code too?

      Bill> Woohoo!!! Somebody replied to my message! ;-)

      >> I'm not sure if this is what Bill does, but I've used this in a
      >> pinch:
      >>
      >> perl -ne 'eval; warn $@ if $@;'

      Bill> Yes, that's almost exactly it, for me, though I just print $@
      Bill> regardless... so maybe the warn is nicer / more friendly.

      Bill> Here's what I currently use (DOS version)

      Bill> pint.bat -------- @echo off perl -nwe "eval; print qq'$@\n'"

      Bill> (Unix version) pint ----
      Bill> #!/bin/sh
      Bill> perl -nwe 'eval; print "$@\n"'

      If you don't mind the debugging nature of it

      perl -d -e 1

      provides a nice interactive perl interpreter.

      Jim

      --
      @James LewisMoss <dres@...> | Blessed Be!
      @ http://jimdres.home.mindspring.com | Linux is kewl!
      @"Argue for your limitations and sure enough, they're yours." Bach
    • James LewisMoss
      ... Bill From: Dossy ... Bill Woohoo!!! Somebody replied to my message! ;-) ... Bill Yes, that s almost exactly it, for me, though
      Message 52 of 52 , Feb 1, 2001
      • 0 Attachment
        >>>>> On Wed, 31 Jan 2001 10:28:20 -0800, "Bill Kelly" <billk@...> said:

        Bill> From: "Dossy" <dossy@...>
        >>

        >> On 2001.01.31, David Corbin <dcorbin@...> wrote:
        >> > Would you care ot provde your "endless-loop-perl" code too?

        Bill> Woohoo!!! Somebody replied to my message! ;-)

        >> I'm not sure if this is what Bill does, but I've used this in a
        >> pinch:
        >>
        >> perl -ne 'eval; warn $@ if $@;'

        Bill> Yes, that's almost exactly it, for me, though I just print $@
        Bill> regardless... so maybe the warn is nicer / more friendly.

        Bill> Here's what I currently use (DOS version)

        Bill> pint.bat -------- @echo off perl -nwe "eval; print qq'$@\n'"

        Bill> (Unix version) pint ----
        Bill> #!/bin/sh
        Bill> perl -nwe 'eval; print "$@\n"'

        If you don't mind the debugging nature of it

        perl -d -e 1

        provides a nice interactive perl interpreter.

        Jim

        --
        @James LewisMoss <dres@...> | Blessed Be!
        @ http://jimdres.home.mindspring.com | Linux is kewl!
        @"Argue for your limitations and sure enough, they're yours." Bach
      Your message has been successfully submitted and would be delivered to recipients shortly.