#perl - Tue 6 Mar 2007 between 20:50 and 21:02



LeoNerdTry push @{ $obj->{folder} }, 'test';
hobbsalso naming it $obj is bound to confuse, but that's not a syntax error :)
LeoNerd$thing :)
somianIt's a BAAAAAD Practice
Seinfeld Coding--
actionavar discovers Perl lectures on google video
avardiscovers Perl lectures on google video
hobbsStay away from the chicken! Bad chicken! Mess you up.
quangleit worked. thanks. Didn't know to use braces, tried to do it with brakets at first...
somianperldoc perlref <-- quangle
quanglealso $obj was just a generic example, of a more complicated piece of code :)
hobbsbetter yet, perlreftut for the gentle-but-awesome intro
avarGumbyBRAIN: $dong is the canonical name
GumbyBRAINOne is the work for canonical.
avarIt would be neat to have different approaches to perldoc
like "know java? this is how our objects differ"
or an explanation of data structures by how they're implemented at the C level..
actionsomian finds another example of "/usr/etc" and oogles
somianfinds another example of "/usr/etc" and oogles
hobbs/usr/local/etc is understandable
/usr/etc boggles the mind
somianInterestingly, the Google result context seemed to pertain to RPMs too. Coincidence? I think not.
actionsomian is a Debian bigot elitist and not ashamed of it.
somianis a Debian bigot elitist and not ashamed of it.
CaT[tm]erm. anyone know what this means? The following parameter was passed in the call to DateTime::Set::from_datetimes
but was not listed in the validation options: 2007-04-25T00:00:00
locsmifhmm, suppose i wanted to match a line to a list of regexes, and on a match execute some code, i can imagine looping through a list of qr{..} type things.
but, is there nothing like:
/regex1/
/regex2/
.... { code }
something like a case statement with multiple matches?
Limbic_Regionlocsmif - why not something like
hobbs/foo/ or
/bar/
avarif (sub { $str =~ $_ && return 1 for @_; 0 }->(@regex)) { ... }?
Limbic_Regionfor (@compiled_regexes) { $str =~ /$_/ && $code_ref->() }
hobbsand do { code }
locsmifhobbs, hmm, yeah, do-able :)
Limbic_Region, well that was what i was looking for an alternative to :P
hobbslocsmif: do is somewhat icky though
KhisanthCaT[tm]: it would mean you are passing extra params that the function isn't expecting
locsmifhobbs, true

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 95 102 

IrcArchive