#perl - Mon 19 Mar 2007 between 23:37 and 02:00



maasha?
thrig-t STDIN and no user input produces a script hung on input
observable by running something like "grep -r duuuuur"
maashathrig that is why i need to test if -t STDIN else print STDERR $msg
punterwhat'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?
puntermsg ok :-) I was trying /w
maasha/ig
punterbeen playing too much WoW I guess
maashai think what makes this messy it the choise of haveing data via a pipe or one OR more files
actionblackelf buys everyone beer
blackelfbuys everyone beer
actionblackelf (and hookers) \o/
blackelf(and hookers) \o/
thrigyup. <> is close, but not what you describe
blackelfrelax... I said hooker, not like jew hooker or something ;)
buuthrig: -t STDIN; doesn't hang for me..
thrigother 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
blackelfthanks, by
* bye
maashacan this be compacted in a nice way to one line and handle more files
thrigwhy do you need it compacted? What would you gain by that?
maashathig 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)
thriguse MyStandardModuleThing; ...
or copy and paste a lot
maashathrig: well, it is not clear to me how to abstract this away in a module
actionCPAN upload: Perl-Critic-1.04 (+++++) by THALJEF
CPANupload: Perl-Critic-1.04 (+++++) by THALJEF
maashathrig: 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 :)
rhizormah: unfortunately, i can't take the time to argue that point, must run off :)
rmahok
I have to sleep too
g'night
rhizosweet war dreams :D
rmahI hate war

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 95 102 109 116 

IrcArchive