#perl - Fri 16 Mar 2007 between 18:56 and 19:00



rindolfLinuxMafia: do you know perl -d?
Randalfalse is false. true is true. nothing else is. :)
LinuxMafiarindolf, i used it long time ago
rindolf, dont remember
rindolfLinuxMafia: then print or "x".
LinuxMafia: there may be a command to display it using the ddd graphical display.
killer_cactusbin: I thought that use CGI; would determine the POST size for me?
Randalit does
you don't have to think about GET vs POST
it Just Works
use CGI qw(param);
LinuxMafiarindolf, and if there is a line like this $a=f(); what if i dont want go inside function f?
Randalmy $value = param("fieldname");
rindolfLinuxMafia: then set a breakpoint there.
hobbsunless you have the marginally-nonstandard POST with url params
rindolfLinuxMafia: or use the "step into" or "s" command.
amnesiacRandal, so, is Stone Henge parte of YAPC::NA 2007 sponsors?
hobbsin which case CGI.pm does something different from everyone else, and you have to think about it :)
LinuxMafiarindolf, thanks let me try it thanks alot
cactusbinhow do I turn my array into a drop-down menu by putting <option> </option> between every value
rindolfLinuxMafia: you're welcome.
cactusbinmap seems to do everyother vlue...
rindolfcactusbin: maybe you have a hash?
mauke@array = map { "<option>$_</option>" } @array;
cactusbinno
array
rindolfcactusbin: ah.
cactusbinI have @images = map {<option>.CGI::escapeHTML($_).</option>} @images;
maukecactusbin: that's wrong
rindolfcactusbin: that's not valid perl.
maukerindolf: yes, it is
cactusbinYou never explained urself rin
rindolfcactusbin: are you using "use strict;" and use warnings;
cactusbinyes
it passes fine
maukecactusbin: you should get a warning about reading from an unopened filehandle and another warning about using uninitialized values
rindolfcactusbin: <option> reads from the filehandle "option".
LinuxMafiarindolf, wow if you put mose over it shows you the value , this is cool
rmahit's sort of valid perl, but you probably don't want to read from option filehandle
will </option> parse though?

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 96 103 

IrcArchive