#perl - Mon 19 Feb 2007 between 14:45 and 14:52



Annazconstant ?
Niimaybe a silly question.. how do i match a sentence that doesn't start with a word without using the negate op !~ ?
merlynwhy without using negate?
actionmerlyn suspects a non-perl question
merlynsuspects a non-perl question
unless ($sentence =~ /^\w+/ ) { ... }
that's how we'd do it *in perl*
actiondamog claps.
damogclaps.
Niiyeah. one of the software i am using uses perl-like regex.
merlynnii - then be gone
Inf3rn0Can't use string ("1") as a HASH ref while "strict refs" in use at some-dir
merlynthis is for perl programmers helping other perl programmers
not for pcre
perlbot, pcre
perlbotPCRE 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
KhisanthInf3rn0: then stop doing that :P
Inf3rn0Well.. I need to do it like that -.-
Niithanks.
merlyntry #pcre
or #your_language
Khisanthyou need to use 1 as a hash ref :P
Inf3rn0Yes
merlyn(satisfied customer)++ nii ? )
he said "thanks"
Inf3rn0Well.. not only 1.. but 1.2.3.4 and so on
damogHeh.
xpatohi, what is the diference between my @artists = (['Michael Jackson'], ['Eminem']); and my @artists = ('Michael Jackson', 'Eminem');?
merlyngo ask #your_inferior_language_that_only_WISHES_it_was_perl
Inf3rn0:D
damog:s
merlynxpato - arrayrefs, it looks like
or literally, those [] things
xpatoarrayrefs?
merlynbut that can't be your real question. :)
xpatowhy not?
merlynxpato, "perldoc perlretut"
on your hard disk
type that at your commandline
dammit I did it again
rhizomerlyn, you mean: perldoc perlreftut
merlyn"perldoc perlreftut"

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 

IrcArchive