tapesorcdz has asked for the wisdom of the Perl Monks concerning the following question:

I downloaded a .pl with the line use Backwards; I've never heard or seen this module...some of the commands include: $line = $bw->readline ; that's about all I can find.
  • Comment on Perl module Backwards??? Does this exist?

Replies are listed 'Best First'.
Re: Perl module Backwards??? Does this exist?
by mugwumpjism (Hermit) on Aug 10, 2001 at 01:11 UTC

    Run this:

    perl -MBackwards -e 'print $INC{"Backwards.pm"},"\n"'

    That will tell you where the Backwards module is. Read the source and find out what it's doing. With a bit of luck it won't be XS module :)

    I can't see anything on CPAN called Backwards except File::ReadBackwards.pm. You did know about search.cpan.org, didn't you?

(jeffa) Re: Perl module Backwards??? Does this exist?
by jeffa (Bishop) on Aug 10, 2001 at 00:26 UTC
    Never heard of 'Backwards', but as you can see for yourself, a search on CPAN for Backwards yields File::ReadBackwards.

    It is possible that the 'Backwards' you are refering (sic) to is a custom module.

    perl -le '$x="jeff";$x++ for(0..4482550);print $x'