#perl - Tue 27 Mar 2007 between 15:00 and 15:10



Dr-Linuxhi guys
http://phpfi.com/220621 << any body can help me, what i'm doing wrong with curly brack.. ?
buubotThe paste 220621 has been copied to http://erxz.com/pb/1926
Chris62vwfalesca, what kind of device?
Dr-Linux, that is so obvious. look:
print "ext: $ext $line\n";
}
remove one of those brackets
maukeChris62vw: wrong
Dr-Linux:S
Chris62vwwait
maukeDr-Linux: missing ; in line 5
Chris62vwwhat the fuck?!
solomanhi
Chris62vwI better read the whole program
Dr-Linuxmauke: yeah, i know that, that's ok
actionCPAN upload: HTTP-Body-0.9 (+++ ) by AGRUNDMA
CPANupload: HTTP-Body-0.9 (+++ ) by AGRUNDMA
maukeDr-Linux: no, it's not
it's a syntax error
Chris62vwahh
maukehttp://erxz.com/pb/1926?ln=on&tidy=on&hl=on&submit=Format+it%21
Dr-Linuxmauke: i mean that's only in pastebin, but i correct it already
maukeok, then fix the indentation and the structure of the code
solomancan someone help me? I have an object with method curr_date. $smth->curr_date prints '20070303055126'. But also I need to call convert method like this: $smth->curr_date->convert_date to convert the date
maukeforeach { } else { } doesn't make sense
solomanhow to do it?
Dr-Linuxmauke: yes, please help me with that
maukesoloman: $smth->curr_date->convert_date
Dr-Linuxmauke: if i remove else {} , the it monitors just fine and print "OK" line
DavemanHi mauke
solomanmauke: but how should i use convert_date? $smth->curr_date prints current date
Dr-Linuxmauke: but i want if it doesn't find OK, that's mean there is something wrong and it should send me an email
maukesoloman: irrelevant. what does it return?
Dr-Linuxmauke: however it's sending me emails, but everything is okey,
silisomian: stop being a fascist
q[ender]did someone mention fascism?
solomanmauke: curr_date returns current date.in unix_timestamp. convert_date returns date converted from what current_date returned
maukesoloman: that doesn't make sense
if it returns a number, how can you call a method on it?
solomanmauke: what should it return to call a method on it?

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 101 108 115 

IrcArchive