| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Comments:
<0> Botje, hmm is that CLI based? after all this would have to run on its own, I cant walk around 300 odd machines at boot time lol <1> hobbs: IT STILL BROKENZ! <2> EvanCarroll - READ ME <3> EvanCarroll: yeah, that part is also wrong ;) <2> @x{@y} not @x->{@y} <4> prism: dunno, i'm not a windows person <1> hrm <0> Botje, unfortunatly nor am I :( <1> eval: $_=[{foo=>1=>bar=>2},qaz=>q/qaaz/]; print @_{qw/foo bar/} <5> EvanCarroll: Return: 1 <3> prism: yes, you can do CLI rsync over CLI ssh :) <2> NO NO NO <2> dammit <2> pay attention <1> wtf now.
<2> @FOO{@BAR} is a hash slice <2> FOO here is $_ for you <1> right. <1> got it. <2> you left out the $ <1> eval: $_=[{foo=>1=>bar=>2},qaz=>q/qaaz/]; print @$_{qw/foo bar/} <5> EvanCarroll: qazqaazReturn: 1 <1> AHAHH <1> ding ding <1> merlyn for the win. <0> hobbs, the clients are winxp, even though im a BSD guy (which most of the servers are) the clients are still winxp, when they first startup they register with the PDC, and the PDC can force them to run a startup vbs or bat. was hoping to get something done over that :D <1> So you can still slice pseudo hashes. <2> EvanCarroll - you remind me of a little gerbil. running off very fast in the wrong directions a lot. <3> prism: sure <1> so why would you remove them, they are so pretty. <2> EvanCarroll - AGAIN I SAY - THEY SLOW EVERYTHING DOWN <1> merlyn: I'm honored. <3> EvanCarroll: because they're replaced by something less useless :) <2> when they are removed, EVERYTHING WILL GO THE SPEED OF PSEUDOHASHES NOW <4> yay <2> dammit <2> listen <1> It isn't about speed merlyn <2> yes it is <1> Stop being so bloddy insensitive. <2> hashes are used for *everything* <1> bloody <2> there's no non-trivial perl program that doesn't use hashes <2> and it's like about a 10-15% win! <0> night all :) <6> I'm trying to install Data::Hexdumper with CPAN but it can't get this ftp://ftp.gwdg.de/pub/languages/perl/CPAN/authors/01mailrc.txt.gz anyhow.. <1> I only code with arrays, and splice makes things faster. <6> what should i do? <2> you might need a new CPAN mirror <2> "o conf init" <4> hawking: export FTP_P***IVE=1 <4> hawking: then try again. <1> I'm thinking Botje is right <2> naah - use an HTTP mirror. :) <2> ftp is your father's protocl. <6> Botje: k <1> HTTP is for downloading porn not perl. <2> see http://mirrors.playboy.com/CPAN/ :) <3> merlyn: actually that one seems to have problems lately <7> I thought torrents were for getting porn <2> Yeah, I know. <2> torrents are for TV shows <2> Yeah - 12.4 days down, says the mirmon <2> I wonder what's broked. <4> somebody slipped over a suspicious puddle. <1> the geek that ran it probably got replaced with an intellectually superior MCSD <6> Botje: that seems to work thanks <8> For web development, must perl be executed as cgi, even with mod_perl on apache? <2> Huh? <9> lol <2> mod_perl is scripting apache using Perl <9> someone didn't read anything about mod_perl ;) <2> CGI is firing off child processes to run arbitrary commands in response to URLs <2> they are like talking about apples and bicycles. :) <8> Sorry, I ***umed it worked like the php module. <2> mod_perl *can* provide content
<2> but that's just a small part of what it does <2> mod_php is mostly content-phase <2> unless they added something new while I wasn't looking <4> does it do anything BESIDES content-phase? <2> mod_perl has access to all 12 phases <8> The content-phase is what I'm concerned with... <8> There's another 11? Why? <2> in that respect, mod_php, mod_perl, and mod_cgi are all at least content providers, yes. <2> but of the three, mod_perl is a lot more sophisticated. <4> http://perl.apache.org/start/index.html <4> to answer the "what is mod_perl" question. <2> for example, a mod_perl trans handler can act like mod_rewrite <2> keeping you from having to deal with mod_rewrite's HORRENDOUS syntax and limitations. <2> in fact, nearly every mod_MUMBLE out there can be emulated with mod_perl. :) <8> Mod_jk included? <2> not sure what jk does <3> freeone3000: if you wanted to be insane, sure <8> Java. <2> Ahh. Yeah, that's probably a bit harder <4> Inline::Java! :p <2> I'm thinking more of the things like database auth, cookie logging, etc etc <4> freeone3000: I use mod_perl to rewrite http://foo.bar.com => http://bar.com/foo <8> Now... that would be useful. <2> right - think mod_rewrite on steroids <8> Cool... <4> I also used it to implement URL cloaking <2> but legal. :) <4> 30 lines of perl, i believe <2> "cloaking" <4> s/of perl// extraneous info <4> merlyn: yes, the kind where you silently rewrite http://domain.com to http://geocities.com/someperson <4> but the url stays the same at the browser side <2> ahh - messing up all relative URLs.:) <4> not really <2> and you have to be careful that URLs don't leak in error messages <2> or self-referential CGI scripts <4> you simply write a Real Tiny(tm) frames-page <4> that sources the proper url <2> Really Tiny$,1ub <10> my upload script is malfunctioning - can someone take a look http://pastebin.com/738087 <2> "upload script" <4> you can't _OWN_ scripts, man <11> Hi :) I'd like to know how I could extract minutes and seconds from a string like "12:45" (So it returns 12 or 45) <2> but you can PWN them! <8> "For those wishing to send their own headers, use the $r->***backwards method." <2> paleo - a million ways <8> Paleo: Regex. <10> what's going on with that code though <2> another person SPLITTING ON COLON <2> what is this, a cl***room ***ignment? <10> yeh <4> qt4x11: what's line 18 supposed to do? <4> it doesn't alter $filename <2> ah yes, getting close to the end of the semester <10> strip and remove path from filename <4> how? <10> oh yeh <4> it only matches. <4> use File::BaseName or somesuch <4> it's more portable *AND* more secure <2> use File::Basename qw(basename) <2> my $stripped = basename($original); <10> what about this code http://pastebin.com/738097 <10> i don't know if i'll hae that module on the server this is going on <2> Ugh <2> don't use $2 without testing the success of the match <2> bad bad coding <4> qt4x11: just use File::Basename already. ew. <10> i got this off a website <10> k <12> I call new(..) and for some reason my script crashes.. is there a way to gracefully exit? <2> Then go there to get support
Return to
#perl or Go to some related
logs:
#kde #perl ruby rails SystemExit exception daemon
pygstreamer skip-network gentoo #suse #suse #gentoo niceApp
#gaim
|
|