| maasha | ? |
| thrig | -t STDIN and no user input produces a script hung on input observable by running something like "grep -r duuuuur" |
| maasha | thrig that is why i need to test if -t STDIN else print STDERR $msg |
| punter | what's the command to whisper on irc? |
| thrig | <I see dead people> |
| punter | (I've been using IRC since 1994 but forgot) |
| Patterner | <talk mode=whisper> Can you hear me? </> |
| thrig | /msg maasha how could punter forget? |
| punter | msg ok :-) I was trying /w |
| maasha | /ig |
| punter | been playing too much WoW I guess |
| maasha | i think what makes this messy it the choise of haveing data via a pipe or one OR more files |
| action | blackelf buys everyone beer |
| blackelf | buys everyone beer |
| action | blackelf (and hookers) \o/ |
| blackelf | (and hookers) \o/ |
| thrig | yup. <> is close, but not what you describe |
| blackelf | relax... I said hooker, not like jew hooker or something ;) |
| buu | thrig: -t STDIN; doesn't hang for me.. |
| thrig | other programs say, "give me a list of files, or use the - to indicate incoming data on stdin" no, it hangs in the while (<STDIN>) { phase |
| pasteling | "maasha" at 130.102.119.82 pasted "-t STDIN" (7 lines, 167B) at http://sial.org/pbot/23614 |
| blackelf | thanks, by * bye |
| maasha | can this be compacted in a nice way to one line and handle more files |
| thrig | why do you need it compacted? What would you gain by that? |
| maasha | thig this is a thing i need over and over again because i want all my scripts to behave alike: read date from pipe or file(s) |
| thrig | use MyStandardModuleThing; ... or copy and paste a lot |
| maasha | thrig: well, it is not clear to me how to abstract this away in a module |
| action | CPAN upload: Perl-Critic-1.04 (+++++) by THALJEF |
| CPAN | upload: Perl-Critic-1.04 (+++++) by THALJEF |
| maasha | thrig: i got tired of the copy n paste a lot :o) hm, i will just make a test of an idea crap |
| killer_ | Randal: well I don't like MS Access db :) |
| rhizo | rmah: unfortunately, i can't take the time to argue that point, must run off :) |
| rmah | ok I have to sleep too g'night |
| rhizo | sweet war dreams :D |
| rmah | I hate war |