#perl - Sat 5 May 2007 between 11:49 and 12:31



rindolfperlbot: references
perlbotperlreftut, perlref, perldsc, perllol, http://perl.plover.com/FAQs/References.html, http://blob.perl.org/books/beginning-perl/3145_Chap07.pdf
rindolfperlbot: references > Zaba
axscodewhats the purpose of hash
Zabakeep info about multiple servers
eval: { test => "test", test1 = 32 }
buubotZaba: Error: Can't modify constant item in scalar assignment at eval line 1, at EOF
axscodenope, what i mean the general purpose why we use hash instead of array. or something
ZabaDoh
axscode, cause i need to store them by names avoiding forring through array and seeking for needed name later
rindolfeval: my $my_rror = 5; [($my_rror)x3]
buubotrindolf: Error: Unrecognized character \xC3 at eval line 1.
rindolfHmmm...
Zabahmm
rindolfeval: use utf8; my $my_rror = 5; [($my_rror)x3]
buubotrindolf: Error: Can't locate unicore/PVA.pl: Too many open files at /usr/share/perl/5.8/utf8_heavy.pl line 80.
rindolfbuubot: :-P
buubotP is nowhere in the vacinity of W.
rindolfWell, I'm going to bike.
actionj2daosh shrugs
j2daoshshrugs
ill give it a shotr
yeah thats the right way
thank you
techtybalt89: 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...
j2daoshwhats the quickest way to get a current date/time stamp of a system?
techj2daosh: localtime
j2daoshsomething similiar to php's date(m-d-y); would be perfect
axscode\$s will escape all character need to be escaped?
j2daoshok ill man it. thanks again
s/ill/i'll
techj2daosh: I used \$s because of bash
j2daoshyeah but this will be on a windows system
and could be ported to *nix at a later date so i'm going for portability
techApparently: Neither @ or \@ in qr/\Q/ works, that sucks.
tybalt89tech: 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
techtybalt89: ITt doesn
tybalt89: ITt doesn't if you put \Q in that qr//

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

IrcArchive