| imMute | make sure you use {} on the right side |
| Aankhen`` | I am. Hmm, one sec. |
| imMute | hmm |
| fduplex | imMute: how am I changing $_? i'm only doing a pattern match (m/) not a substitution |
| Aankhen`` | Oh, that was it. I had an arrow between the deref and the slice. |
| imMute | fduplex: 4) $^N ??? wtf? |
| Aankhen`` | As in @{ $hashref }->{'foo', 'bar'} |
| imMute | Aankhen``: yeah {}{} != {}->{} |
| fduplex | imMute: $^N contains the last value captured in paranthesis |
| Aankhen`` | At least not in this context. |
| imMute | fduplex: no do this instead: sub foobar { my ($invar) = @_; $invar =~ /(.+)/; return $1; } |
| mmlj4 | f00li5h: last night or whatever you mentioned accidentally typing "rm -rf /" in the shell as root |
| fduplex | imMute: yes I know I can use $1 and such, but there are reasons why I am using $^N, as a sort of named capture |
| imMute | fduplex: why? |
| mmlj4 | i only type that on friends' machines |
| f00li5h | mmlj4: yes |
| fduplex | imMute: i'm trying to find some reference to $^N for you, but google isn't helping, it refuses to let me search for $^N properly |
| f00li5h | mmlj4: it's more interesting to make your own user uid 0 |
| fduplex | imMute: there is a section though, in Mastering Regular Expressions, that references it |
| f00li5h | mmlj4: so that everything on their box is being run by f00li5h |
| mmlj4 | anyhow, sleep & |
| f00li5h | and the user called "root" is a normal user (uid > 1000) |
| fduplex | imMute: basically, i'm matching with a regex that contains optional subexpressions, so numeric capture would result in missing matches imMute: that would make it impossible for me to know where a certain captured part would be |
| simcop2387-tv | GumbyBRAIN, LisaLaptop did not invent irish dancing |
| GumbyBRAIN | We did have to invent new ones! |
| f00li5h | fduplex: you could just match an empty string, so the capture cotnains '' |
| LisaLaptop | GumbyBRAIN, When's the last time I had a fig newton? |
| GumbyBRAIN | I time my head wondering why it is in newton. |
| simcop2387-tv | GumbyBRAIN, newton was alergic to figs! COKE AND PEPSI ARE THE SAME THING! WAKE UP PEOPLE! |
| GumbyBRAIN | Heh, in the wake of a thing, if you mean with that. |
| fduplex | ok $^N is actually documented in perlre. i'm basically trying to modify a variable directly from within my pattern |
| f00li5h | if i'm wanting to bundle up my whole website, is there a way i can use Module::Starter or similar to package CGI scripts up nicely too? i'm not sure how i'd go about it |
| simcop2387-tv | f00li5h, dunno i'd just tarball it up unless its a framework type thing of sorts |
| action | LisaLaptop is wondering if simcop2387-tv got any of her messages |
| LisaLaptop | is wondering if simcop2387-tv got any of her messages |
| f00li5h | simcop2387-tv: framework of sorts? |
| simcop2387-tv | i'm guessing not because i sent you a bunch and didn't see any replies |