| somian | j2daosh: sounds like a good plan :-) |
| infidel | merlyn, have you ever used the anchor option before? |
| merlyn | in a regex? |
| infidel | what's a regex? |
| merlyn | regular expression what most people do with Perl. :) |
| j2daosh | ok, i'm probably going to get like cyber-beatdown for this... but i am looking at the stat() function and i'm not quite sure how i should be using it. 8 is the access time so that is what i want to get, but according to the initial example, my syntax format should be similiar to 8 = stat($filename); but what doesn't seem write because then where is the value stored? shouldn't it be something... ...like $value = stat($filename)[8];? |
| merlyn | (stat $filename)[8] literal slice |
| j2daosh | ohh |
| merlyn | which I invented. :) (LIST)[LIST] |
| pUmkInhEd | good morning #perl i am debugging a script, how can i find out where a constant is defined? |
| merlyn | good morning, child. "constant"? |
| j2daosh | haha merlyn, course you did :P |
| merlyn | perl doesn't have constants. j2daosh - you say that like I'm lying |
| pUmkInhEd | ok |
| j2daosh | aren't you? |
| pUmkInhEd | let me show you the error this script is throwing... |
| merlyn | Not at all. |
| somian | Uhh, j2daosh, do you know who merlyn is? |
| merlyn | it's one of the few things in Perl that I can actually take credit for. |
| action | j2daosh goes back to keeping his mouth shut |
| j2daosh | goes back to keeping his mouth shut |
| rhizo | perl has a 'constant' pragma however |
| pUmkInhEd | Subroutine FuzzyOcr::O_RDWR redefined at /usr/local/lib/perl5/5.8.8/Exporter.pm line 65. at /usr/local/lib/perl5/5.8.8/mach/POSIX.pm line 19 |
| merlyn | that and the coderef arrow and the underscore filehandle for filetests |
| j2daosh | somian: not really... i know he's a smart guy when it comes to perl and teaches classes... didn't know hw actually helped develop it |
| pUmkInhEd | i already tried reinstalling perl |
| merlyn | the three things I suggested into the language perlbot, merlyn's books |
| perlbot | camel 1+2, llama 1+2+3+4, alpaca 1+2, gecko, shiny ball (EPP), Perls of Wisdom |
| merlyn | perlbot, merlyn's columns |
| perlbot | unix review (69 and counting), linux magazine (92 and counting), web techniques (70), perl journal (14), freely available at http://www.stonehenge.com/merlyn/columns.html |
| merlyn | My name has been in print 22 million times with respect to perl (at least) |