@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30



Comments:

<0> >> is totally unlike unpack
<1> since Tr is a self-mapper
<2> msouth, hehe
<1> and yoru shift @list is like [td(1), td(2), td(3)]
<3> Tr{\@list} gives me <tr> ARRAY(whatever) </tr>
<1> What are the curlies there?
<1> you using parens, but mispasting?
<4> how does one mispaste?
<1> command-alt-v :)
<1> "paste nearly" :)
<5> integral: run a special daemon that mangles clipboard buffers, duh
<1> "past"
<6> mmm, whats a way i can do print "stuff". (defined($hash{$key}))?$hash{$key}:0 ."\n";
<1> looks like your code does it
<4> _sho_: add more parens, use commas instead of ., etc.
<1> so that's a way. :)



<1> Oh. bad precedence
<1> a precedential issue.
<3> push(@list, [td(1),td(2),td(3)]); ... more similar pushes ... Tr(\@list) -> <tr>ARRAY(0x8261c2c)</tr> ...
<5> with perl 5.9 you can do print "stuff",$hash{$key} // 0, "\n"
<1> OK. so Tr is not a self-applier.
<1> Curse Lincoln.
<1> Herr Dr. Lincoln Stein, MD, PhD
<6> hm, damn. im a little short of 59
<1> pronouncing stein as Shtein
<5> ah, it's supposed to be Tr .. brr
<1> One of the few people I know with both a MD and a PhD, and yet plays with CGI. :)
<5> frostschutz:
<5> perldoc CGI
<7> The perldoc for CGI - is at http://perldoc.perl.org/CGI.html
<5> look for THE DISTRIBUTIVE PROPERTY OF HTML SHORTCUTS
<5> 10 to 15 lines below
<5> is an example of what you're trying to do
<1> & morning stuff
<6> gah. i cant seem to get my ternary to print
<6> i put the whole operation in parens, but still no go
<4> eval: print "foo: ", (1 ? "yes" : "no"), " :end";
<5> _sho_: can $hash{$key} contain empty strings?
<8> integral: foo: yes :endReturn: 1
<6> Botje: absolutely not
<3> Botje: the thing is, I want one <td> that does rowspanning, so I need to know how many rows there will be beforehand. So I collect and push them into an array first.
<6> it either exists or it doesnt, no empty strings
<5> frostschutz: your code creates an arrayref of arrays..
<5> then you can use $hash{$key} || 0
<5> eval: print "foo: ", $hash{$key} || 0, "stuff"
<8> Botje: foo: 0stuffReturn: 1
<9> hi!
<9> how can i list all perl-modules i have installed??
<6> _omfg_
<10> I don't think that's ever been asked before
<6> $hash{'1'} ="123;" <- syntax error
<6> sigh
<5> matahari: perldoc perllocal
<5> lies?
<6> Botje: i like your solution better than my ternary, its easier to read
<4> matahari: try also instmodsh(1)
<11> matahari: find / -name \*.pm -exec grep package {} \;
<5> ARGH! cleverness!
<11> :)
<5> still,
<5> perl -le 'exec "grep", "-r", shift, @INC'
<5> the -l is not needed either
<6> what can i read that would explain the implied behavior in your example botje? I understand it, but am curious to see if other examples exist I could use or learn from
<5> it's called shortcircuiting
<5> and it's documented in perldoc perlop
<7> The perldoc for perlop - Perl operators and precedence is at http://perldoc.perl.org/perlop.html
<6> awesome
<5> that also has a list of all operators, listed in reverse precedence
<5> (ie the ones at the top are worked out before the ones at the bottom)
<6> yep, ive read perlop (was on it earlier actually)
<4> yay! my ***embly shell now ***embles!
<4> Turns out that I really can't stand libc.
<6> thanks again



<5> make libintegral then.
<5> lib\int :P
<4> I CBA
<9> t/g4_dbfile_json................skipped all skipped: Neither YAML or YAML::Syck are available
<9> t/g4_dbfile_storable............ok
<9> t/g4_dbfile_yaml................# YAML
<9> t/g4_dbfile_yaml................ok 51/101Use of uninitialized value in hash element at /usr/lib/perl5/vendor_perl/5.8.7/YAML.pm line 283 (#1) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
<5> CBA IS WHAT GAVE RISE TO HITLERR
<4> Ugh, my feet are wet now, matahari
<9> i get this error when i try to install the CGI::Session module
<5> matahari: install YAML first?
<5> oh, it's already installed
<9> hmm... tried it to install with "perl -MCPAN -e
<9> 'install YAML:Syck'
<9> sorry
<9> 'install YAML::Syck'
<12> Botje: s/CBA/pasting to IRC/ ;)
<5> japhy: well, i suppose
<4> Linux's network stack should be rewritten in Embedded Perl.
<5> integral: I learned about malbolge yesterday.
<5> it's a neat little language. you'll love it
<13> Botje: neat?
<5> http://en.wikipedia.org/wiki/Malbolge
<13> malbolge is appropriately named
<4> Does it have algebraic data types, parametric polymorphism, dependent types and garbage collection?
<0> hahaha
<5> integral: no. but it has self-encryption, 59095-valued variables, and a "crazy" operator
<4> oh, wow, that's pretty! it's definately better than parrot
<0> I want YOU! to write in tamerlane
<13> iirc it took years to write the first program and even that was done by a program
<5> indeed.
<5> http://www.acooke.org/andrew/writing/malbolge.html
<5> for those interested in what pravus said
<4> hmm, cycles in the encryption. that's not very good
<14> integral: Do you have a Win32 box?
<4> nope.
<14> Can you emulate one?>
<5> PC LOAD LETTER
<4> I don't have one to emulate
<13> Yaakov: you need something?
<14> pravus: No, thanks.
<4> nor win16, because of the stupid way that microsoft put the floppy images on the CD, ie they didn't...
<14> integral: Too bad, you would probably like Monad.
<0> haha, the "straight" 99 bottles of beer version is shorter than the loopy one
<4> Yaakov: ah, yes, interesting idea.
<4> but it's got the wee problem of using structured data, which requires lots of cooperation between pipeline components
<5> not if you use eg YAML
<4> Botje: haha :-) YAML is equivalent to XML
<5> but preferably a dialect optimized for streaming
<5> and you'd just need some read/write wrappers to properly instantiate objects and all that
<5> feh
<15> heh. "just"
<1> YAML can represent self-referencing structures better than XML though
<14> I understand Monad's roots are VMSish.
<1> at least in the default deployment
<14> Personally, I wish they had just made a solid, extended bash port.
<6> mmm, last question
<6> thread failed to start: Invalid value for shared scalar at ./tcpd.pl line 59, <DATA> line 1.
<4> merlyn: ID and IDREF attributes
<14> _sho_: Only haters use threads, hater.
<1> you still need to add semantics that are inherent in YAML
<6> line 59 is: $data{$ip}{'in'} = "$in"; ( i do my %data : shared; at top before thread creation)
<1> eek. no autoaway!
<1> please to be booting nerdz.
<14> merlyn: Feh.
<6> is my problem actually here instead: if (open DATA, "</tmp/mydata")
<5> _sho_: what are those quotes doing around $in?
<5> except cluttering it?
<16> anyone ever encounter any issues using postfix and Mail::Mailer ... getting an error from postfix's sendmail alias
<1> maybe ensuring the string value. :)
<14> nerdz: You are offeding religious sensibilities, you should turn that off.
<1> and ensuring a copy


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

#debian
#osdev
i686 etch
get grant parentid in mysql query
php keep the script running
jpromerobx
timestamp DDMMYYYY in perl
dell 1370 wireless openbsd
#gaim
#php



Home  |  disclaimer  |  contact  |  submit quotes