| Annaz | constant ? |
| Nii | maybe a silly question.. how do i match a sentence that doesn't start with a word without using the negate op !~ ? |
| merlyn | why without using negate? |
| action | merlyn suspects a non-perl question |
| merlyn | suspects a non-perl question unless ($sentence =~ /^\w+/ ) { ... } that's how we'd do it *in perl* |
| action | damog claps. |
| damog | claps. |
| Nii | yeah. one of the software i am using uses perl-like regex. |
| merlyn | nii - then be gone |
| Inf3rn0 | Can't use string ("1") as a HASH ref while "strict refs" in use at some-dir |
| merlyn | this is for perl programmers helping other perl programmers not for pcre perlbot, pcre |
| perlbot | PCRE is crap. It is hardly comparable to Perl's regular expression engine. Don't bother inquiring for help with a regular expression in perl related channels as the answer you'll get will most likely not work since PCRE is missing most of the "powerful" features that perl's regex engine contains. See also: LPBD |
| Khisanth | Inf3rn0: then stop doing that :P |
| Inf3rn0 | Well.. I need to do it like that -.- |
| Nii | thanks. |
| merlyn | try #pcre or #your_language |
| Khisanth | you need to use 1 as a hash ref :P |
| Inf3rn0 | Yes |
| merlyn | (satisfied customer)++ nii ? ) he said "thanks" |
| Inf3rn0 | Well.. not only 1.. but 1.2.3.4 and so on |
| damog | Heh. |
| xpato | hi, what is the diference between my @artists = (['Michael Jackson'], ['Eminem']); and my @artists = ('Michael Jackson', 'Eminem');? |
| merlyn | go ask #your_inferior_language_that_only_WISHES_it_was_perl |
| Inf3rn0 | :D |
| damog | :s |
| merlyn | xpato - arrayrefs, it looks like or literally, those [] things |
| xpato | arrayrefs? |
| merlyn | but that can't be your real question. :) |
| xpato | why not? |
| merlyn | xpato, "perldoc perlretut" on your hard disk type that at your commandline dammit I did it again |
| rhizo | merlyn, you mean: perldoc perlreftut |
| merlyn | "perldoc perlreftut" |