Fwd: Interview Questions

2004-04-20 Thread drieux
problem or this or that, and one check for how they deal with an ambiguously worded coding problem - hence whether they should be looking before leaping - and then one catches their basic issues with actually doing perl code. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: How to add an item into Shopping cart

2004-03-24 Thread drieux
into the database. If all of the items that can be placed in the cart are on one page, then you seem to have your solution here. The trick becomes if one has to create a shopping cart that will persist over several web page presentations. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL

Re: Virtual Directory Problem

2004-02-15 Thread drieux
back and review what exactly you are trying to do in the process. Do you really like having a declared cgi-bin directory? ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Email module

2004-02-09 Thread drieux
-) If all you need is a form mail then check out http://cvs.sourceforge.net/viewcvs.py/nms-cgi/formmail/ but it rests on even 'older' technology than the Mail::Mailer modules... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: Running a system command as root

2003-12-17 Thread drieux
port As such the code is not setuid to Root. So you might want to think about whether what you want to integrate with webmin should be accessible from a public cgi_bin directory anyway. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: Fork

2003-12-09 Thread drieux
On Dec 9, 2003, at 9:53 AM, Octavian Rasnita wrote: Can you give me a short example about how I should create that loop? a strategy I proposed over on the beginner's list would look like say: http://www.wetware.com/drieux/pbl/Sys/gen_sym_big_dog.txt That of course was built for a command line

Re: pass a variable from php to the perl file

2003-12-04 Thread drieux
interface ... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Passing the hash

2003-12-04 Thread drieux
{ process_broken_cgi($CGI); } This way only the 'widgets' that need to be 'hidden' are actually shipped out in the html... This way you can also 'grow' your Dispatcher as you need to, and add functionality as required... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Javascript problems with -script

2003-11-23 Thread drieux
. It might be that you will want to start the next section with it's own print sequence? ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Fwd: POD, Faq and tradition - Re: extracting email addys.

2003-11-22 Thread drieux
day when an extension would be needed for things no one could think about in those dark days when we all beat out code the old fashion way with a stick on a flat rock... And Consensus was based upon the last person standing and all of that... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL

Re: Syntax error with while

2003-11-10 Thread drieux
want to attack the problem along that line. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTTP::Request

2003-11-10 Thread drieux
On Friday, Nov 7, 2003, at 17:12 US/Pacific, Tobias Fink wrote: [..] but what i didnt want to do is something like this: my $response = $ua-get(http://search.cpan.org/ search?query=$queryquery2=$query2etc); because this only works for http-get. Isnt it possible to create a header that works

Re: php testing in my pc

2003-11-10 Thread drieux
executable. you might want to check one of the traditional php web-sites about the gory details. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Syntax error with while

2003-11-10 Thread drieux
was incorrect I would be able to return(generic_error_page($error_message)) if ( $went_wrong_here ); this way I can sort out what is going on in smaller chunks of code that build up modules... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Syntax error with while

2003-11-09 Thread drieux
} = $STH-fetchrow_array or perchance ($id, $nom, $prenom, $email) = $STH-fetchrow_array ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Syntax error with while

2003-11-09 Thread drieux
On Sunday, Nov 9, 2003, at 09:24 US/Pacific, lanzaroto wrote: Le dim 09/11/2003 à 17:44, drieux a écrit : On Sunday, Nov 9, 2003, at 08:08 US/Pacific, lanzaroto wrote: while({$id, $nom, $prenom, $email} = $STH-fetchrow_array){ $REQ-Tr

Re: HTTP::Request

2003-11-06 Thread drieux
: $request = HTTP::Request-new('GET', 'http://search.cpan.org/'); # and then one of these: $response = $ua-request($request); so yes, the line is broken, but there also seems to be an interesting server side issue that google has with web-bots. ciao drieux --- -- To unsubscribe, e-mail

Re: Delete/Archive older enteries.

2003-11-06 Thread drieux
, it is in this foreach loop that the decision is made whether code is deletable - hence if ( $removeby date_to_delete($id)) { print SAVEDB $line\n; next; } and just make sure that you did the appropriate open() for that file handle, etc... ciao drieux

Re: Simple CGI question

2003-11-06 Thread drieux
frame name=rightFrame src=myCoolRightFrameCode.cgi /frameset /html ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how-to: custom exception handling?

2003-11-05 Thread drieux
-browsers' chunk of code This way I can also check things like what the 'status' was returned from the remote web server, yadayadayada... Your Mileage May Vary, void where prohibited by law, may cause lab rats in cancer research facilities. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: interpolating a variable with a request parameter

2003-10-31 Thread drieux
-param(qty$i); would probably Allow the string to be interpolated as qty0 which is what you seem to want. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: javascript in perl

2003-10-29 Thread drieux
that it be 'coherent'. One solution is start 'simple' with writing the Java Script out in 'chunks' as a part of the basic html and see if it still does what you want when called. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: help with syntax error

2003-10-29 Thread drieux
The area is zero\n; } else { print The area is $area\n; } You might want to also a. use strict b. hence declare your variables c. make sure that $radius is numeric with some form of die must be numeric!\n unless ( $radius =~ /^\d+$/); etc, etc, etc... ciao drieux

Re: uploadfiles

2003-10-01 Thread drieux
with that reference to the uploaded file # } unless you are really want to play with the $query-param() and the other method calls... HTH. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: separating functionality

2003-09-27 Thread drieux
::Baz::FavFuncs; my $foo_bar = $funkMgr-fon_gu_lea(@arglist); will seems a reasonable exchange. But you will probably want to check out Randall Schwartz's new book about learning perl modules, references, et al... ciao drieux --- Remember if you play fairways and greens, you really only need

Re: Include Files in Perl?

2003-09-26 Thread drieux
the learning perl references and modules book. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CGI.pm 2.98 breaks CGI::Carp?

2003-09-24 Thread drieux
through this module has to deal with the fact that exception handling is going to be built in, and that they will be on their head what they do with the exception being passed back to them ciao drieux --- ok, so I liked Randall's general write up better, as he is a good writer... but as a Code

Re: Real beginner's questions

2003-09-24 Thread drieux
://www.wetware.com/drieux/CS/Proj/TPFH/gen_doc.html Getting a feel for Perl itself is best done with something like the Learning Perl book. You will of course want something like the Learning Perl in WIN32 http://www.oreilly.com/catalog/lperlwin/ that should help you over the Perl Side

Re: Real beginner's questions

2003-09-24 Thread drieux
On Wednesday, Sep 24, 2003, at 11:39 US/Pacific, Bill Teschek wrote: HTH, Thanks for responding. My questions at this point are more in line with how to get a script file to work with perl on our webserver. I'm been doing static HTML for years now but have just never ventured into cgi and

Re: CGI.pm 2.98 breaks CGI::Carp?

2003-09-23 Thread drieux
are at this point c. will conform with the rest of the style of your web pages just a quick knickle tour - I of course will defer to Randal to go into more detail if required. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Capturing At Compile Time

2003-09-17 Thread drieux
more hassle than most folks want to be working with. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem writing to a file

2003-09-17 Thread drieux
layout would look like ../cgi_bin/my.cgi ../tmp/newfile.txt Or you may want to look at say perldoc IO::File and specifically new_tmpfile() if you really only need a quick temporary file. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Problem writing to a file

2003-09-17 Thread drieux
created a directory and chown'd it to user admin, so even those I and admin are in the same group, I can not create files in the directory because only the user admin has write permission on the directory. eg: [jeeves: 3:] ls -ltra total 0 drwxrwxrwx 29 drieux house 986 Sep 17 15:59 .. drwxr-xr-x 2

Re: Problem writing to a file

2003-09-17 Thread drieux
it all to the gods that no one will abuse that reality. This is less and less acceptable on more and more web-sites. Prudence generally dictates 755 where other members of your group and the rest of the world can read and execute. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Problem writing to a file

2003-09-17 Thread drieux
ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Still Not sure if I agree with myself.

2003-09-15 Thread drieux
to this project then distill that common base out for re-use... at which point, I fear I agree with the YA_CGI_AppServer notion for, as you not SomDefofAppServer... It just worries me. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: cgi

2003-09-15 Thread drieux
the form.html send email to a special email account say 'the_web_page_account' then have an application deal with email to that account... It could be run as a cron job and send your account a summary of things about that account. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Truncate questions.

2003-09-15 Thread drieux
to think about is move DB_File to OLD_DB_file create TMP_DB_FILE traverse OLD_DB_FILE and write to TMP_DB_FILE move TMP_DB_FILE to DB_FILE ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Want CGI script to test and start daemon - was Re: CGI problem, please help

2003-09-12 Thread drieux
is going to be, it will then check to see if another daemon of it's type is running, and either defer to the existing one, or tell it to die, and take over. the '-k' option will likewise check for the existence of the pid file and signal the daemon to shutdown cf: http://www.wetware.com/drieux

Re: Still Not sure if I agree with myself.

2003-09-12 Thread drieux
yearns to be in a module, rather than as something one would cut and paste into each new CGI script... But looking at your diagramme, I think I can see why you are pointing towards a YA_CGI_AppServer ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Still Not sure if I agree with myself.

2003-09-11 Thread drieux
On Thursday, Sep 11, 2003, at 05:51 US/Pacific, fliptop wrote: [..] drieux - since no one has responded, i'll take a stab at some of the issues you bring up. [..] Thanks for the feed back. In the code that I implemented, I did not use the Closure to 'wrap' my Package - but I think as a 'GP

Re: Still Not sure if I agree with myself.

2003-09-11 Thread drieux
{ } sub kickDaemon { $me=shift; $me-doDaemon(@_); } # the synonym trick... Which still gives me a HASH to manage, plus the actual Sub. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl/Linux problem.

2003-09-11 Thread drieux
work since the CGI::header() will put the additional CRLF in play and separate them... You do have the #! line with the -w flag set? ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: modules

2003-09-10 Thread drieux
, and then return it out, oh, say STDOUT. Trust me it can be done, but it is such an ugly path that it should be left for the strictly obfuscatory Perl Contest. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Still Not sure if I agree with myself.

2003-09-08 Thread drieux
'??? The demonstration code that goes with my longer write up of my 'issues' - cf http://www.wetware.com/drieux/CS/Proj/TPFH/a_bci.html started out Strictly as a simple illustratoin of how a command line interface piece of code CAN be written. Unfortunately I decided to take that other look, and hack around

Re: tcpdump to a perl script

2003-09-05 Thread drieux
of the pipe template is found at: http://www.wetware.com/drieux/pbl/perlTrick/drieuxTemplates/DoCmd.txt This way I can work out the basic semantics for what most of the cases of foo | bar will work out to be... or do you mean pipe as in pipe(CHLDr, PRNTw); pipe(PRNTr, CHLDw

Re: Stripping HTML from a text file.

2003-09-04 Thread drieux
$line ; } but this assumes that the start and stop tags do not have something else on the same line with them - eg /headbody text=#00 bgcolor=#FF ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Stripping HTML from a text file.

2003-09-04 Thread drieux
it will fail and not clear out the other stuff in the head element. ciao drieux --- my $text ='!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd; html lang=en head meta http-equiv=content-type content=text/html; charset=iso

Re: [Addendum] Stripping HTML from a text file.

2003-09-04 Thread drieux
+location.pathname+'?r'+r+'='+s); } } /script /head ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Defining Return-path.....

2003-09-02 Thread drieux
. Since spammers will be on you in a heart beat. At which point you may want to just download and use: FormMail from http://sourceforge.net/projects/nms-cgi/ which if you follow the appropriate install and configure documentation will allow you some modicum of sane web based email sending... ciao drieux

Re: automated file removal / cache clearing

2003-08-29 Thread drieux
on the file system? ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: automated file removal / cache clearing

2003-08-27 Thread drieux
a purge routine on the 'old records'? ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Call to a function is a seperate file

2003-08-25 Thread drieux
falling in amongst 'the diseased' You were warned. } My own Personal Ranting on Perl Modules is up at: http://www.wetware.com/drieux/CS/lang/Perl/PM/ So while I am a RELIGIOUS FANATIC about 'h2xs' - as a way to start a new module cleanly - cf: http://www.wetware.com/drieux/CS/Proj/PID/ as a case

Re: How does CGI.pm handles Content-type: text/html\n\n ?

2003-07-29 Thread drieux
to a hash, that has the 'run_time_error' message in it... This way if the caller wants to report out the error case then they can do that, or they can also decide that they do not care that the error occurred, and go on to some other strategy... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: need help/ advice

2003-07-28 Thread drieux
on. [..] The code below just gets me the name of your home page as a string. correct? incorrect. but were I to do something like say my $url = URI-new(); $url-scheme('http'); $url-host($host_port); $url-path('/drieux'); my $response = $ua-get($url-as_string()); this code fragment returns an HTTP

Re: return(bless $rant, $class) || Fwd: PHP vs Perl

2003-07-28 Thread drieux
On Sunday, Jul 27, 2003, at 20:03 US/Pacific, Todd W. wrote: Drieux [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [..] But First off - COOL RANT! I was hoping that _some_ day I could string a few sentences together as well as you do =0) [..] flattery will get you out of some problems

Re: How to add modul directory to @INC

2003-07-28 Thread drieux
-servers will 'chdir' to the directory where the foo.cgi is invoked - so one can do the relative path offset solution of use lib '../lib'; and then hang your modules there... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: return(bless $rant, $class) || Fwd: PHP vs Perl

2003-07-25 Thread drieux
. This way the exposed 'cgi code' that gets called is, well, just there - while the underlying DataBaseFoo is abstracted behind perl modules in this case without having to transit through the 'blessed reference'. I bascially trust Perl's Hashing Algorithm that much. HTH. ciao drieux --- Trust me, if you

Re: PHP vs Perl

2003-07-23 Thread drieux
to a browser Since PHP allows me to invoke 'external commands' - then all I have to do is resolve if that is a faster,cheaper, better way of getting that dope than 'open the socket, push, pull, parse, puke'. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Clearing a Form

2003-07-22 Thread drieux
for dealing with the real back end issues. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: PHP vs Perl

2003-07-22 Thread drieux
' that goes back to the user's browser... ciao drieux --- ps: did I mention the part about having to shift all of the 'online html based documentation' that goes with the application that will also have to be clarified where all of the previous illustrations have been obsoleted by the addition of 'just

Re: sending mail to a group using perl

2003-07-15 Thread drieux
email address... We went through weirdness like that with a corporation that believed in Lotus Notes HTH. Personally I would go with Mail::Mailer - which has a bunch of simpler ways to deal with 'sending mail' that are independent of the actual sendmail application. ciao drieux

Re: Getting the domain name

2003-07-14 Thread drieux
to remember that nas.nasa.gov IS the domain name, not a host and domain component ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: look arounds

2003-07-06 Thread drieux
(.) or string at junk.plx line 8. Use of uninitialized value in concatenation (.) or string at junk.plx line 8. color = , animal = vladimir: 106:] ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: dynamic update part of a table

2003-06-29 Thread drieux
? thanx! what you may want to look at is the issues with using frames and frame-sets and setting the with scroll... It would be nice if more browsers were willing to use say iframe but that really limits the number of candidates... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Why not Class Objects

2003-06-28 Thread drieux
package Wetware::Hq::Web::RCI; . use Wetware::RCI; our @ISA = qw(Wetware::RCI); . this way when i do things like my $rci = new Wetware::Hq::Web::RCI; it inherits all the song and dance of the base class... ciao drieux

Re: Why should I create an object?

2003-06-28 Thread drieux
of course is to be explicit my $input = CGI::param('input'); This way one knows that the param is the param() that one means there is some trade off here, in that one only imports the methods that one means to import... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: suexec question

2003-06-12 Thread drieux
that you should NOT need to have the setuid bit set on the executable... p5: have you any interesting information from the suexec.log that can help you sort out what it is whining about? ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Needing IP addresses

2003-06-12 Thread drieux
, there is no gurantee that the actual value there is Kosher, but if you really want to get funky then you can of course look at the REMOTE_PORT and try some socket getpeer types of tricks... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Simple character replace problem

2003-06-09 Thread drieux
complements for getting me off the dime... On Monday, Jun 9, 2003, at 09:48 US/Pacific, Kristofer Hoch wrote: Also, Maybe you may want to try using CGI.pm to get query strings. [ lovely code snippet for reasons of National Security ] == That may help you out quite a bit. Drieux

Re: I am having trouble using SSI(Server side includes) from cgi using perl

2003-06-06 Thread drieux
anyone know how to do this. which type of SSI's are you putting in? ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: I am having trouble using SSI(Server side includes) from cgi using perl

2003-06-06 Thread drieux
the basic idea of SSI was that it would allow something else to do the actual lifting of including stuff 'on the fly' - whereas coming to the CGI process IS about making it up 'on the fly'. HTH. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Difference of $hash, and %hash. (was Getting my head round hashes)

2003-06-06 Thread drieux
)) { # # here we deal with it just like it were a regular hash # } HTH ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Difference of $hash, and %hash. (was Getting my head round hashes)

2003-06-06 Thread drieux
be done in one Process vice forking for ever... after that it's the name space management solutions that come with having perl modules ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Difference of $hash, and %hash. (was Getting my head round hashes)

2003-06-06 Thread drieux
to play tricks with hashes in perl, you will understand the core of the Perl5 implementation of OO style Objects as well... ciao drieux --- ps: I of course had my bbedit of a current piece of cgi code laying open, and I am mumbling unpleasantries at the difference between what I have coded, and what

Re: I am having trouble using SSI(Server side includes) from cgi using perl

2003-06-06 Thread drieux
something on the order of the pro's and con's of doing this ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Speaking of Apache 2.X

2003-06-06 Thread drieux
? Is there a way to force the server to do that? Or was that actually negotiated Prior to my cgi code being called? ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Getting my head round hashes

2003-06-06 Thread drieux
of course would take us into the perl debugger itself... This will help get past the usual 'issues' with debugging perl cgi scripts, that want to have one 'input' stuff and type ^D or echo the query string in Your mileage may vary ciao drieux --- short shameful confession: It has been a long

Learning Perl and Stuff was .... Re: Difference of $hash, and %hash. (was Getting my head round hashes)

2003-06-06 Thread drieux
everything by Chomsky, C.S. Lewis, and most importantly all the back issues of Mad Magazine... Then you will understand the mental stains that programmers use to emmulate human conversation... Unless they are Orcs ciao drieux --- [1] as opposed to a 'perl bigOt' - who have a Big OT for Perl 8

Re: how to create a submit button in perl?

2003-06-06 Thread drieux
of showing the fun of hash like structures... HTH. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Javascript and Perl Problem

2003-06-01 Thread drieux
, and if you were trying to do this in c89, you really should seek competent psychiatric help first... 8-) ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple checkboxes

2003-06-01 Thread drieux
= $query-param('test'); that may be where you will be able to sort this out. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: fixing uninit error

2003-05-31 Thread drieux
in my previous post... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: safe system()?

2003-03-28 Thread drieux
backticks, open() and exec() } And BEFORE wiggins whines at me for not pointing at putting stuff that could be in a Module INTO a Module, y'all do know about Digest::MD5 that is available from the CPAN that would mean not having to invoke it remotely... ciao drieux we Blog, therefore we exist

Re: question about perl.

2003-03-27 Thread drieux
ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: question about perl.

2003-03-27 Thread drieux
On Thursday, Mar 27, 2003, at 16:16 US/Pacific, Wiggins d'Anconia wrote: Luinrandir Hernsen wrote: How do I run another perl program from within another perl program? if (x=0) { perl_ program_ 1.pl } else { perl_program_2 } exit; Surprised that neither of the other two (especially drieux) asked

Re: Trying to block out BGCOLOR

2003-03-21 Thread drieux
volks, brief prefix. I believe Li Ngok Lam has found a clear 'issue' in the original request for solving a regex problem. my working assumption was that the OP needed a filter that would clean up a bunch of pre-existing static *.html files because the site had adopted a new scheme, and so these

Re: Trying to block out BGCOLOR

2003-03-20 Thread drieux
. c. white space ciao drieux --- my $l1 = 'bodybgcolor=#99 other=fred stuff here table bgcolor=blue '; my $l2 = 'body bgcolor=red other=fred'; my $l3 = 'body bgcolor=red other=fred'; foreach my $tag ( $l1 , $l2 , $l3

Re: Trying to block out BGCOLOR

2003-03-20 Thread drieux
in the output. So the simplest solution appeared to be to work out the list of things that were 'delimiters' and then allow anything in the middle group that was not a delimiter... HTH... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: regrex question

2003-03-20 Thread drieux
this in the appropriate conditional so that you handle the case my $card_number = '12345678a9988'; as being BROKEN INPUT. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl Script wont run in cronjob

2003-03-19 Thread drieux
thought about 'daemonizing' it and letting it simply go into a 'sleep' and/or select on a control port in a poll loop? ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with regular expressions!!!

2003-03-18 Thread drieux
. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Net::LDAP.pm

2003-03-15 Thread drieux
come from the old school tie approach, since it also helps one understand how to build CPAN style modules, and keep the process going cleanly... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Sending JavaScript variables to a perl program

2003-03-13 Thread drieux
of the relevant data, but calls RegularProcess.cgi which will first off call your stats.pl script with the relevant information, and then return the appropriate web_page to the user. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: persistent connection

2003-03-10 Thread drieux
there ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: question about uninitialized variable

2003-03-09 Thread drieux
check for the version with say [jeeves: 90:] perl -MCGI -e 'print $CGI::VERSION' 2.56[jeeves: 91:] ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with script:usage

2003-03-06 Thread drieux
initial_name original_dir new_dir suffi x example: ./renamer.pl image /home/httpd/htdocs/ /home/me/images/ jpg [..] it appears from the usage statement that you are required to provide more arguments than you provide when you background the process. note the example line there. ciao drieux

Re: FW: Perl/CGI with FRAMES

2003-03-03 Thread drieux
::specificPageStuff These are basically how to cache that we have these specific types of arguments and stuff Remember that SSI's can help in a bunch of other ways as long as your client does not have a 'specific look' that requires that things lay out in a given manner. ciao drieux --- -- To unsubscribe

Re: Perl/CGI with FRAMES

2003-03-01 Thread drieux
. ' frame name=MainBody src=' . $src2 . '' . \n . '/frameset/html' . \n ; \$p; } # end of v_Frame_Page ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: General ftp question

2003-03-01 Thread drieux
On Saturday, Mar 1, 2003, at 16:59 US/Pacific, Ebaad Ahmed wrote: Hello All, I have just installed SuSe on my computer, I can ftp to any ftpsite from this but cannot ftp into the machine. How can I make this possibe. Any help will be really appreciated. have you activated the ftpd? ciao drieux

  1   2   >