| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Comments:
<0> hobbs: which is why I'm still asking <0> gee ya THINK? <0> I was *hoping* to run into people who may have had experience with more than a search engine for the topic in question :P <0> apparently I'm in the wrong place hoping that someone might have actually USED the thing <1> WebDragon: Well you've obviously proved an hour ago that there's nobody here who has, or that's interested in talking about it. So going on at length isn't going to help you any <0> let alone anything else <1> WebDragon: just annoy everyone around <0> I'm not the one that dragged this out ya know <2> Yes. <2> You are. <0> alla y'all kept harping on me <1> WebDragon: so you're saying that you shut up a long time ago? <2> Woe is you. <0> there wasn't any need for the whole room to start chiming in <0> was there? <1> WebDragon: yes there was because you failed to stop being an idiot in public.
<2> We have very fine-tuned stupidty sensors, and come to feed when it shows its stupid head. <3> hobbs, if you aren't going to help me, I'd appreciate if you just shut up and let someone else help me, dammit <0> just because you're treating me like one doesn't make me one <1> WebDragon: if anyone wants to help you, I'm not stopping them, am I? <0> no, however it does make it more difficult <1> WebDragon: no, it doesn't <1> WebDragon: you fail to understand IRC. <0> says hobbs to the man who <1> WebDragon: and common sense might tell you that if anyone wanted to help you they would have done it half an hour ago <4> WebDragon: any template will require you learn the templating language. <0> says hobbs to the man who's been on IRC for quite a bit longer at a guess <1> WebDragon: try not guessing. :) <2> I'm just a little confused as to what, exactly, he wants. I mean, you could use Template Toolkit, but that's even scarier, as you'd have to learn POSTSCRIPT instead of just XML. <0> quick one then: your age? <4> WebDragon: and the choices that come to mind will be XML, LaTeX, Postscript . . . and i know which one i'd pick <0> mine's 40. been on IRC since before netscape 1.0 ever hit anything resembling an ftp shelf <1> WebDragon: i^4 <5> 1337 <6> nothing to brag about if you managed to learn nothing in all that time <1> (ftp has shelves now?) <7> so why the **** is it so hard to learn xml? <0> it's a joke, son <0> it's not so *(@&@&##ing hard to learn xml <1> WebDragon: you make a poor Foghorn Leghorn <0> never said it was <8> HTML is hard to learn <2> Then DO IT and SHUT UP <8> ew73 has been studying it for years and still can't get it <2> It's the damn closing tags. <0> ya know I remember a time when even comp.lang.perl.misc was more helpful to people asking silly questions <7> then just admit you'd rather bitch than get anything done, and go bitch somewhere else. <5> he's put it on the ftp shelf <1> ew73: you should use html 3.0, then you don't need to close any tags :) <5> GumbyBRAIN: what the **** is ftp shelf <9> Is able to accept both targetted and multi-cast (i think) since my list of pointers to cl***, but well, i guess i need to make chocolate spread on the shelf. <0> it's a damn shame to see this is what's representing the supposedly helpful perl community -- it's like php all over again <2> I give him 2 days. <4> since when has the perl community been reputedly helpful? what could have possibly given anyone that idea, ever? <5> actually it is <10> tilrman: and since when perl itself was intended to be helpful to newbies? <2> Yeah. We gave the ***hole an answer half an hour ago. <11> i'm using module::reload and a require 'file.pl'; -- is there a way i can make it so when i have a syntax error (or other i suppose) in my file it wont crash the whole program? <5> perl folks help folks that help themselves <2> bnovc: Not really a good idea to not die on a syntax error.. <11> ew73, i was hoping it just wouldn't use the file or something, but this is for a bot and i dont want it disconnecting when i make an error <5> you gotta be more specific <11> jt_, me? <5> yes sir <11> what information would you like <4> bnovc: cache the file somewhere when it succeeds. if your require fails, fall back to the cached copy. and complain very loudly <5> "make an error".. what do you mean <11> jt_, any type of syntax error, invalid variables, etc <11> its so i can update my bot while its on <6> jt_: loading code without testing :) <11> well i can't really test it outside that context <2> Sounds like a generally bad idea, imo. <6> eval { require ... } <11> but the variables and context wont exist <12> bnovc: 'perldoc require' will show you a way to do eval { require } that will help you.
<11> alright i guess i'll do that, thanks <12> perldoc -f require even <13> require. To access this perldoc please type, at a command line, 'perldoc -f require'. You may also find it at http://perldoc.perl.org/functions/require.html <5> oh <5> i'm drunk by the way <14> jt_: in other words, you 'helped yourself', as you say <5> i pissed off a drunk postal worker tonight and i'm a bit shaken <11> Can't call method "send_im" on an undefined value at im_in.pl line 31. <11> $aim->send_im( $nickname => 'Try using #<message> to send it to IRC / #web-help' ); <11> when it says ON an undefined variable, it means it can't access $nickname ? <5> yes peterS, but in a different way <15> um, I think it means $aim is not defined <6> no, $aim is undef <16> bnovc: No i.. <16> what theysaid <11> my $aim = $_[HEAP]{'oscar'}; <- meaning that is also undefined? (what i set it to) <16> Apparently. <14> correct, that too is undefined <11> ah i see it <11> why doesnt it error on the line when i set it to an undefined variable? <2> buu: You missed the mocking. :( <14> 'cause that isn't an error in perl <14> shrug <11> yea, i was wondering why it isnt <14> unless perhaps you use strict 'vars' <16> ew73: =[ <16> peterS: No.. <16> bnovc: Because undef is a perfectly valid value for a variable? <16> bnovc: How is it supposed to know that this time you didn't mean it? <11> well it would be different to do 'my $var = undef;' <11> but you're trying to ACCESS a variable that doesn't even exist <2> eval: my $foo = $somevarwithanundefvalue; $foo; <17> ew73: Return: <12> sigh. <11> i guess i just dont agree that should be expected behavior but i'll get used to it :P <2> I'm going to go make a tall gl*** of iced tea and pretend I didn't hear that. <12> bnovc: perl will evaluate the expression, find that it evaluates to undef, then set the variable thusly. why should that be unexpected? <12> ew73: make me one. but make mine long island style, please. <11> infi, try 'int var = someundefvar' in c++ -- that's what i would expect <12> bnovc: perl is not C++. <11> because i dont see a reason to set it to another variable that is undefined <5> ew73 make it a long island ice tea it will help you forget <11> just giving it as an example <12> you're not setting it to another VARIABLE that is undefined, you are setting it to an EXPRESSION that EVALUATES to the UNDEF value. <12> ew73: what does "my $var = 2 + 2;" evaluate to? <2> infi: Long Islands are such college drinks. :P <5> haha yeah <2> How about a white russian? <5> those kill me <18> bourbon + coke <12> ew73: totally, but they're strong and right about now, I could use a nice Pan-Galactic Gargleblaster. <12> bnovc: what does "my $var = 2 + 2;" evaluate to? <11> 5 <12> I see where the problem is. <11> haha :) <5> scotch and soda <5> hm, i have vodka and tonic <11> eval require 'file.pl'; where file.pl uses an invalid expression still kills the main script <2> My favorite, after white russians, is the "adios mother****er" <11> i guess i can put eval in front of every line :\ <5> what's in that ew73 <5> ? <12> so, in this case (and most), the rvalue is evaluates, then the lvalue is set thereto. if the rvalue EVALUATES to 4, or undef, or 6.02E23, or "**** me gently with a chainsaw," why should Perl complain there? It seems limiting to make it be concerned with valid scalar storage types, if you are attempting to store something in a scalar. <12> eval takes blocks, too. <12> perldoc -f eval <13> eval. To access this perldoc please type, at a command line, 'perldoc -f eval'. You may also find it at http://perldoc.perl.org/functions/eval.html <2> Vodka, gin, white rum, curacao (blue), 7-up, and sour mix. <5> hm <2> And sometimes tequila. <5> speaking of tequila, i'm going to mexico in a couple weeks :D <11> http://rafb.net/paste/results/s9TsiV34.html <11> like that? <13> The paste s9TsiV34 has been moved to http://erxz.com/pb/1243 <14> jt_: I guess I've got you beat, I'm going to mexico in about 15 hours
Return to
#perl or Go to some related
logs:
php undeclare function compiling tinapos decrease touchpad sensitivity ubuntu #ubuntu yakuake kerry f12 drupal LMO link rel=stylesheet type=text/css firefox framebuffer vmplayer
#fedora #gentoo
|
|