@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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



Comments:

<0> samu2 - exactly what it says
<0> stop using 0 as a scalar ref. :)
<1> merlyn, I pasted it ^
<1> merlyn, what do you think the issue could be?
<2> But to access the first element in an arrayref i have to use 0, no?
<0> Ahh - you never print headers
<0> why would you expect that to work?
<1> merlyn, ?
<0> CrazyTux - read ovids cgi tutorial
<0> you're missing a LOT of info
<0> it'd be far too much to retype here
<1> merlyn, I copied / pasted an example tutorial
<0> No you didn't
<0> you're missing something
<1> merlyn, you told me to put the BEGIN { } ?
<0> and if that's an example in that tutorial, IGNORE THAT TUTORIAL



<0> I'm mentally omitting the BEGIN
<0> the rest should never have worked
<3> hi.. I want to tie a array to a mysql table .. is there a perl module to do that?
<1> hmmm
<0> what tutorial are you reading?
<0> url?
<0> if you're going to read a tutorial - use http://users.easystreet.com/ovid/cgi_course/
<0> that's the right one to start with
<0> ovid++
<0> shorten that
<1> merlyn, I really don't want to learn perl. I just want to know why perl scripts aren't working on the server.
<0> CrazyTux - learn or hire
<0> that's your choice
<0> my rates are $200/hr, minimum 4 hours. i accept paypal at merlyn@stonehenge.com
<2> $200?!?!
<4> merlyn is a consultant
<0> conslutant. :)
<2> Do my 0s get stored as "0"s when I do store or something?
<4> ($consultant = $con | $insult)
<4> he's a con (well, ex-con) and he insults you!
<0> samu2 - Storable stores the exact structure
<1> merlyn, I don't see anything wrong with this... this is a basic hello world for christ sake
<0> CrazyTux - YOU ARE MISSING PRINTING A HEADER
<0> dammit, I've said that twice now
<0> and if that doesn't make sense to you, GO READ A TUTORIAL
<1> merlyn, I am printing the header
<4> CrazyTux: pastebin your code
<1> print "Content-type: text/html\r\n\r\n"
<4> as it is now, all of it, in full
<1> is that not the header?
<0> then something else is wrong. You typed "perl -c yourscript" *on the server*, right?
<1> merlyn, yes.
<0> is the path to perl correct
<1> yes.
<0> is the file executable?
<1> yes
<0> so you can type ./yourscript on the server, and it executes, right?
<1> merlyn, affirmative.
<0> then it's something you'll have to work out with the web admin of the server.
<4> your mod_perl config is broken?
<4> <0> that will be $800
<0> this isn't mod_perl
<0> this is CGI, apparently
<4> mod_cgi then?
<0> so CrazyTux - you'll need to hire or learn at this point
<0> I've pointed you to tutorials
<0> make a script that says the following:
<2> Why would I not want to use 0 for a scalar ref?
<0> #!/bin/sh
<0> echo content-type: text/plain
<0> echo
<0> date
<0> and then try that
<0> get Perl out of the equation
<0> all 4 lines
<0> make it executable
<0> samu2 - 0 is not a scalar ref
<0> 0 is just a scalar
<0> your data structre is trashed if you're using that as a scalar ref
<0> a scalarref prints like SCALAR(0xdeadbeef)



<5> are u a scalar ref ?:D
<5> xD
<0> CrazyTux - did you try that?
<1> merlyn, wait what?
<1> merlyn, thats just a bash script?
<0> yes
<0> get perl out of the equation first
<0> make sure that you can execute SOME cgi
<0> and if that doesn't work, you need to get into #cgi to get that to work
<0> because it's no longer a Perl issue
<6> goodnight!
<1> merlyn, bash will run with mod_cgi ?
<0> yes
<0> of course.
<1> merlyn, crazy.
<4> anything will
<0> man - you have a lot to learn about CGI
<4> as long as it's executable
<0> perhaps a TUTORIAL will help
<0> (he repeates for the SIXTH time)
<4> perhaps $800 worth of consluting will help :O
<0> I have a lot of patience for people who are willing to learn
<0> but not for people who want to be a leech
<4> if you're a PHP guy why can't you get CGI to work? =\
<0> PHP isn't CGI
<7> Elly_Laptop: did you get a chance to test that POE thing?
<4> infi: no, missing nmake
<0> PHP is content-delivery
<0> download nmake!
<7> Elly_Laptop: no worries, I am just about the submit my bug report, just wondering if you had any extra info.
<0> it's free
<7> s/the/to/
<4> merlyn: too lazy. must sleep.
<0> ... ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe
<1> merlyn, same error... premature end of script headers when ran from apache
<1> merlyn, ran from cmd it runs fine
<0> so it's not a perl problem
<0> it's a cgi problem
<0> go find a cgi support group
<0> and tell them what you did with your 4-line shell script
<0> I suspect you have something like exec-wrapper, and the wrapper isn't in place
<0> but again, that's not #perl's concern
<0> try #apache
<0> or #cgi
<1> alright, thanks.
<1> merlyn, haha, sorry to give you that feeling
<8> merlyn: just add more violence.
<9> hmmm, tr{}{} does not interpolate
<9> I am hungry
<10> LWP::Simple's get doesn't seem to like url with get parameters, does it ?
<0> sure it does
<10> merlyn: yeah actually I saw I get a 403 with wget, so it's not LWP's fault
<0> that's a security failure
<0> not a fetch failure
<11> hello
<11> I am looking for someone who codes in perl that would know about integration with php on file uploads, progress bars, etc. Is anyone in here familiar with any of those subjects?
<12> morning all
<11> morning
<12> does anyone know of a perl module that will take a list of numbers and output a group of ranges
<12> ie 112,113,114,115,118,119,120 => 112-115, 118-120
<12> or something similar to that?
<11> I am sure its possible, but I am looking for a perl coder for another reason :)
<8> surfdue: jobs.perl.org
<11> Botje, its not a professional job?
<8> so?
<8> tdonahue: it's not that hard, iirc
<12> Botje, i'm sure it isn't too hard, i was hoping someone had already implemented an algorithm a little more optomized than what I had come up with
<8> well, what DID you come up with?
<13> I wonder if the mysql DBD sets begin_work apon setting autocommet to off?
<0> why do you need perl to "integrate with php"?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

linphone SPEEX PKG_CONFIG
SLES9 persistent_name
xserver-sorg
#math
perl gantry activestate
triviabot.pl
the specefied module could not be found
nulog tutorial
#linux
perl sysopen NONBLOCK



Home  |  disclaimer  |  contact  |  submit quotes