| 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" |
| buubot | cfedde: no |
| cfedde | eval: $x = '\f\o\o', 'some \f\o\o text' =~ /\Q$x\E/ ? "yes" : "no" |
| buubot | cfedde: yes |
| cfedde | I think I got that right somewhere around the third try. |
| kalila | ow it does sorry |
| lloy0076 | Is there any way to run a script such that $| is 1 without having to modify the script? |
| mauke | yeah, run it with perl -MZomg script.pl where Zomg.pm is a file that sets $| = 1 |
| thrig | lloy0076: is $| or flush or similar mentioned anywhere under perldoc perlrun? Any other tips under $| in perldoc perlvar? |
| lloy0076 | mauke: 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. |
| thrig | and there you have it |
| arcanez_ | $m->comp('whatever'); doesnt call hierarchy, does it ? meaning , autohandler, dhandler, etc |
| mauke | what? |
| arcanez_ | html-mason |
| Jmax- | arcanez_: irc.perl.org #mason (iirc) maybe it was #html-mason or something |
| arcanez_ | thx |
| tindie | it seems to be working thanks for all your help |
| archigos | I'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? |
| archigos | Somebody 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 ;< |
| archigos | I 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? |
| archigos | Jmax-, sqlite is a flatfile db? |
| Jmax- | archigos: no, it's in-memory, and usually saved to disk er, -usually |
| archigos | mhk and DBI handles that? |
| Jmax- | in-memory meaning no server |