#perl - Fri 13 Apr 2007 between 00:00 and 00:11

NY Lost Funds



milky_cereali frown upon frowning upon.
and doesn't perl?
Caelum:)
there's some way to do it with a glob too
milky_cerealcaelum: thanks for both. i guess i'll stick with -> unless i can better understand perl's symbol tables and justify using the other.
i just want a way to load packages on the fly and call methods that should be there. (on the fly == runtime).
Caelummilky_cereal: then -> is the right way to do it, because you could later upgrade from static class methods to real objects
milky_cerealCaelum: thanks. i think you've helped me before. i really appreciate it.
SuperkuhI am trying to make an xchat perl plugin for text to speech. I am getting syntax errors when trying to declare the main control subroutine: http://24.245.49.197/library/meh/saystuff.pl.txt (does that look wrong)?
milky_cerealCaelum: by for now.
SuperkuhIllegal declaration of subroutine Xchat::Script::saystuff::sub_control at (eval 20) line 92.
QtPlatypusSuperkuh: the () should be {}'s on your subs
Caelumxchat uses Net::IRC? How evil...
Superkuh...
I did?
Oh lord.
QtPlatypusWhere you have gone sub sub_nume ( ... ) you should go sub sub_name { ... }
SuperkuhYeah.
I'm just...uh.
Long night.
And no, Caelum, it doesn't.
CaelumSuperkuh: maybe you want to use a CPAN module to do the saying, instead of forking for every line too...
SuperkuhI was mucking around earlier.
Like what? ANd depend on festival, festvox, or MBrolia?
I'd rather shove a broom up my anus, to be frank.
Caelumheh
maybe you could then open a pipe to say and just write to it
SuperkuhI tried that too. A lot.
Before the perl.
Lots of tail voodoo...
none worked.
geoffegTHIS IS RADIO CLASH ON PIRATE SATELLITE
bru802does anyone know why the first element of the hash combination is run while the others are skipped?
http://sial.org/pbot/24171
CaelumSuperkuh: like, open my $say, "|say"; print $say "stuff to say...";
bru802: you forgot the 2 => and 3 => ?
Superkuh$say?
I appreciate the help very much, but I am confused.
This is say: http://24.245.49.197/library/meh/say.exe
CaelumSuperkuh: well, you're calling system("say ...") so instead of that, open a pipe to it with open. $say becomes the file handle

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 

IrcArchive

NY Lost Funds