#perl - Sun 18 Mar 2007 between 01:09 and 01:53



f00li5hkiller_: CGI.pm won't print headers when run from the shell, i don't think
thrigperl -MCGI -le '$c=CGI->new; print $c->header, "does too"'
f00li5hthrig: fine.
killer_lsof|wc -l returns 9869, isn't that alot?
simcop2387GumbyBRAIN: i have masters in Gemonomy and Gemology!
GumbyBRAINwhen the os at first i and the directory where i have in your mind.
thrigperhaps. Do you graph system metrics over time? Have similar systems to compare with?
killer_it made that one file.. after adding print $fh ""; and no more files are being made
error messages sure would be nice
gotgenesWhy do I need to declare a variable with "our" instead of "my" to be able to access a variable from a package when importing that package from another script? In other words, I can't access $Foo::bar unless I use "my $bar;" in Foo.pm, but I can if I use "our $bar".
grrr, s/unless/if/
thriggotgenes: http://perl.plover.com/FAQs/Namespaces.html
imMutegotgenes: because my creates a lexical variable
thrigand why does the script need to poke around inside the module namespace?
killer_it's like perl simply stopped creating files.. this is not good
thrigwhy would perl magically stop creating files?
killer_system is not swapping ram 76MB RAM free 0.37 load average.. hmm not sure what is wrong
gotgenesthrig: I define a hash of ignored terms in a module; I'd like to test the module; rather than duplicating the code, I'd like to use the hash contained within said module-to-be-tested.
thrigI'd look at 'df' and 'df -i' if I had file creation problems. Though your lack of errno data is disturbing.
killer_I'm not liking File::Temp
f00li5hkiller_: it's simple, do what the docs say
killer_: and pass arround $fh
if you need it in suba
s/a$/s/
killer_thrig: df shows 54% avail on partition and df -i shows 8302267 IFree
I must have a syntax error somewhere
thrigsyntax errors would be readily apparent via failures to run or 'perl -c' tests
avarGumbyBRAIN: hlagh?
GumbyBRAINasl, we must meet for hlagh, i belive my dong is compatable with other gotos.
killer_perl -c ./4dtscore.cgi -> syntax OK
great
yippie
f00li5hkiller_: now that the compiler understands it, all that's left is for people to
Patternernext step is "perlcritic -1 4dtscore.cgi"
killer_f00li5h: heh
Chris62vwGumbyBRAIN, compatable dong?
GumbyBRAINasl, we must meet for hlagh, i belive my dong compatable with other things, but not for what you seem to get the home address of the dong.
PatternerI sense an unhealthy fascination with dongs.
killer_f00li5h: check this.. does it run for you? http://www.paste.me.uk/439.html
Patterner: perlcritic not found

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 

IrcArchive