| rindolf | perlbot: references |
| perlbot | perlreftut, perlref, perldsc, perllol, http://perl.plover.com/FAQs/References.html, http://blob.perl.org/books/beginning-perl/3145_Chap07.pdf |
| rindolf | perlbot: references > Zaba |
| axscode | whats the purpose of hash |
| Zaba | keep info about multiple servers eval: { test => "test", test1 = 32 } |
| buubot | Zaba: Error: Can't modify constant item in scalar assignment at eval line 1, at EOF |
| axscode | nope, what i mean the general purpose why we use hash instead of array. or something |
| Zaba | Doh axscode, cause i need to store them by names avoiding forring through array and seeking for needed name later |
| rindolf | eval: my $my_rror = 5; [($my_rror)x3] |
| buubot | rindolf: Error: Unrecognized character \xC3 at eval line 1. |
| rindolf | Hmmm... |
| Zaba | hmm |
| rindolf | eval: use utf8; my $my_rror = 5; [($my_rror)x3] |
| buubot | rindolf: Error: Can't locate unicore/PVA.pl: Too many open files at /usr/share/perl/5.8/utf8_heavy.pl line 80. |
| rindolf | buubot: :-P |
| buubot | P is nowhere in the vacinity of W. |
| rindolf | Well, I'm going to bike. |
| action | j2daosh shrugs |
| j2daosh | shrugs ill give it a shotr yeah thats the right way thank you |
| tech | tybalt89: Seems like my issue still remains with this: perl -e "my \$r = qr/\Qhello@hello/; my \$s = 'hello@hello'; print 'match' if (\$s =~ /\$r/);" tybalt89: It doesn't seem to work with @ inside of qr/\Q... |
| j2daosh | whats the quickest way to get a current date/time stamp of a system? |
| tech | j2daosh: localtime |
| j2daosh | something similiar to php's date(m-d-y); would be perfect |
| axscode | \$s will escape all character need to be escaped? |
| j2daosh | ok ill man it. thanks again s/ill/i'll |
| tech | j2daosh: I used \$s because of bash |
| j2daosh | yeah but this will be on a windows system and could be ported to *nix at a later date so i'm going for portability |
| tech | Apparently: Neither @ or \@ in qr/\Q/ works, that sucks. |
| tybalt89 | tech: perl -le 'my $r = qr/hello\@hello/; my $s = "hello\@hello"; print "match" if ($s =~ /$r/);' tech: prints match for me so did you original pasted example |
| tech | tybalt89: ITt doesn tybalt89: ITt doesn't if you put \Q in that qr// |