#perl - Tue 3 Apr 2007 between 02:32 and 02:48



cfedde$x = '\f\o\o', "some \f\o\o text" =~ /\Q$x\E/ ? "yes" : "no"
eval: $x = '\f\o\o', "some \f\o\o text" =~ /\Q$x\E/ ? "yes" : "no"
buubotcfedde: no
cfeddeeval: $x = '\f\o\o', 'some \f\o\o text' =~ /\Q$x\E/ ? "yes" : "no"
buubotcfedde: yes
cfeddeI think I got that right somewhere around the third try.
kalilaow it does sorry
lloy0076Is there any way to run a script such that $| is 1 without having to modify the script?
maukeyeah, run it with perl -MZomg script.pl
where Zomg.pm is a file that sets $| = 1
thriglloy0076: is $| or flush or similar mentioned anywhere under perldoc perlrun? Any other tips under $| in perldoc perlvar?
lloy0076mauke: Of course, I forgot one could do that.
thrig: Yes they are, but they assume that one wants to or can alter the source code.
thrigand there you have it
arcanez_$m->comp('whatever'); doesnt call hierarchy, does it ? meaning , autohandler, dhandler, etc
maukewhat?
arcanez_html-mason
Jmax-arcanez_: irc.perl.org #mason (iirc)
maybe it was #html-mason or something
arcanez_thx
tindieit seems to be working
thanks for all your help
archigosI'm trying to figure out how to have some sort of tables in perl. Any ideas other than using some form of database server?
Jmax-arcanez_: sqlite?
archigosSomebody recommended using references to lists but I'm not sure how to implement that.
Jmax-arcanez_: or perhaps a datastructure of references
arcanez_tables?
Jmax-err archigos
arcanez_heh. ;P
Jmax-mistab ;<
archigosI need a two-dimensional data structure is all :-/
Jmax-archigos: see perldoc perldsc and perlol in particular. see also references docs: perldoc perlref, perlreftut
er perllol
arcanez_what's wrong with hash / hashref?
archigosJmax-, sqlite is a flatfile db?
Jmax-archigos: no, it's in-memory, and usually saved to disk
er, -usually
archigosmhk
and DBI handles that?
Jmax-in-memory meaning no server

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 

IrcArchive