in reply to Re: STDIN question
in thread STDIN question

And how do I reference STDIN for File::Slurp? Sorry to be slow on this...rkg

Replies are listed 'Best First'.
Re: Re: Re: STDIN question
by Tomte (Priest) on Jun 19, 2003 at 15:37 UTC

    ++hmerrill

    # test2.pl use File::Slurp; $all_of_it = read_file('-'); print $all_of_it; __END__ $ >echo -e "klöhlkhklhj\nlkjhlkhlkhkk\nlkjhklhlkhklh" | perl test2.pl klöhlkhklhj lkjhlkhlkhkk lkjhklhlkhklh

    regards,
    tomte


    Hlade's Law:

    If you have a difficult task, give it to a lazy person --
    they will find an easier way to do it.