#perl - Thu 15 Mar 2007 between 00:11 and 00:15



Randalput(handle => $somehandle)
put(filename => "somename")
yes really
or simply put_handle ($seomhandle)
f00li5hok, i was thinking put_handle, put_filename
RageAgainstThem[03:10] <simcop2387> RageAgainstThem:
thats wat i saw]
RandalYeah, taht too
f00li5hbut that's terrible
Randaleither way
maukef00li5h: no, that's better
Randalnot at all
good design
actionRageAgainstThem slaps simcop2387 around a bit with a large trout
RageAgainstThemslaps simcop2387 around a bit with a large trout
f00li5hwhy?
DsbeerfRageAgainstThem, well you is like using a console msn client
Randalfunctions doing one thing only
and clear from the name
and easily subclassable
simcop2387RageAgainstThem: i see what i said, what did you really see?
f00li5hRandal: yes, putting files on servers
seigright now the function is only being used for filehandles but it could be used to filenames
Randaland in fact, putname can call puthandle to do the rest of the work
RageAgainstThema sqiggle, block, block, a squiggle, block, <<
Randalso it's a layer
implement one in terms of the other
again - better subclassing
I only have to subclass, implement puthandle, and putname comes along for free
maukeU+30D0 (0xe3 0x83 0x90): KATAKANA LETTER BA []; U+30AB (0xe3 0x82 0xab): KATAKANA LETTER KA []
seigi'll just make it a local function, its only used once but the rest of the team likes stuff like that in functions
f00li5hRandal: so having put call put_handle or put_path would still meet your subclassability requirement, right?
maukeseig: what do you mean by "local function"?
simcop2387RageAgainstThem: you need to switch to a proper encoding like utf-8
seigin the file that calls it instead of in a modue
package*
Randalperhaps
rhizo== fool
f00li5hrhizo: what?
Randalbut if you're trying to argue against me, I'm not in a place where I am willing to pay attention
I'm trying to listen to thsi presentation here

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

IrcArchive