question about "use MODULE"

2002-10-18 Thread MMKHAJAH
Hello, I wonder wether 'use module' compiles only once. I mean that all sebsequent calls don't involve compiling. Example: MyLib.pm package MyLib; use strict; use MyConfig; ## ## Code the uses MyConfig ## MyScript.pl use MyLib; use MyConfig; Will the 'use MyConfig' in the second file compil

Planning & Implementing a web project

2002-09-28 Thread MMKHAJAH
I have a fairly good experince with Perl. I can program under strict, do some OO and connect to databases. Up until this point I didn't do any real big script. So I wonder how to plan and implement big projects ( like web protal, discussion forum ). Thank You :)

Re: How to create client side "Save as CSV file" button?

2002-09-25 Thread MMKHAJAH
Simple. Procedure: 1- Write out the file on the server. 2- Redirect the user to the file . ( using: print ("Location: http://..URL..TO..FILE";) ) 3- Remove the file from the server. - Original Message - From: "chris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September

Database Normalization ?

2002-09-21 Thread MMKHAJAH
Hello Everyone, I wonder if it's better to use database normalization solution when dealing with Flat Files databases ?

Re: How can I call a Perl function from HTML?

2002-09-19 Thread MMKHAJAH
I believe this should aid you a little: http://search.cpan.org/author/DROLSKY/HTML-Mason-1.13/lib/HTML/Mason.pm for putting Perl into HTML directly ( like PHP, ASP ) - Original Message - From: "Mike Craig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 19, 2002 10:0

Re: Parsing an HTML document

2002-09-19 Thread MMKHAJAH
I think this should work: $content =~ s/\<[^\>]+?\>//g; - Original Message - From: "Octavian Rasnita" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 19, 2002 12:12 PM Subject: Parsing an HTML document > Hi all, > > I want to parse an HTML document to get out the s