Re: stupid question about to protect source code of perl web application scripting

2019-07-09 Thread Kent Fredric
On Mon, 8 Jul 2019 at 13:45, Eko Budiharto wrote: > > dear all, > > first of all, thank you for the respond of my inquiry. And then, there > is a few questions I would like to ask: > > 1. if someone takes your works and then he steals the credit by claiming > the work is his work instead of your w

Re: stupid question about to protect source code of perl web application scripting

2019-07-08 Thread Shlomi Fish
On Mon, 8 Jul 2019 15:07:41 +0700 Eko Budiharto wrote: > >> 2. if someone has a problem, he does not want to try to find a way to > >> solve the problem first, and then he asks your help and then problem > >> solved, then he is blaming the person who already helped him and > >> claimed, that is h

Re: stupid question about to protect source code of perl web application scripting

2019-07-08 Thread Eko Budiharto
2. if someone has a problem, he does not want to try to find a way to solve the problem first, and then he asks your help and then problem solved, then he is blaming the person who already helped him and claimed, that is his work. what will you do? What do you mean? dear Shlomi, what I me

Re: stupid question about to protect source code of perl web application scripting

2019-07-08 Thread Shlomi Fish
Hi, On Mon, 8 Jul 2019 08:44:46 +0700 Eko Budiharto wrote: > dear all, > > first of all, thank you for the respond of my inquiry. And then, there > is a few questions I would like to ask: > > 1. if someone takes your works and then he steals the credit by claiming > the work is his work inst

Re: stupid question about to protect source code of perl web application scripting

2019-07-07 Thread Eko Budiharto
dear all, first of all, thank you for the respond of my inquiry. And then, there is a few questions I would like to ask: 1. if someone takes your works and then he steals the credit by claiming the work is his work instead of your work, what will you do? 2. if someone has a problem, he does

Re: stupid question about to protect source code of perl web application scripting

2019-07-07 Thread Shlomi Fish
Hi all, On Sun, 7 Jul 2019 19:54:30 +1200 Kent Fredric wrote: > > On 7/6/19 11:21 PM, Eko Budiharto wrote: > > > it is a web application but it is on premise. The user is not honest. > > > That's why I am trying to find a way to protect the source code like > > > in java we can compile into ja

Re: stupid question about to protect source code of perl web application scripting

2019-07-07 Thread Kent Fredric
> On 7/6/19 11:21 PM, Eko Budiharto wrote: > > it is a web application but it is on premise. The user is not honest. > > That's why I am trying to find a way to protect the source code like > > in java we can compile into java class and still can be run. That's a false sense of securtiy. A suffici

Re: stupid question about to protect source code of perl web application scripting

2019-07-06 Thread Uri Guttman
On 7/6/19 11:21 PM, Eko Budiharto wrote: dear Uri, it is a web application but it is on premise. The user is not honest. That's why I am trying to find a way to protect the source code like in java we can compile into java class and still can be run. I read some articles in the internet. Som

Re: stupid question about to protect source code of perl web application scripting

2019-07-06 Thread Eko Budiharto
dear Uri, it is a web application but it is on premise. The user is not honest. That's why I am trying to find a way to protect the source code like in java we can compile into java class and still can be run. I read some articles in the internet. Some method are using PAR, perlc, Filter::Cr

Re: stupid question about to protect source code of perl web application scripting

2019-07-06 Thread Uri Guttman
On 7/6/19 11:10 PM, Eko Budiharto wrote: dear Uri, it is a web application but it is on premise. The user is not honest. That's why I am trying to find a way to protect the source code like in java we can compile into java class and still can be run. please write to the list and not only to

Re: stupid question about to protect source code of perl web application scripting

2019-07-06 Thread Uri Guttman
On 7/6/19 11:01 PM, Eko Budiharto wrote: dear all, I have a question. I have written a web application with perl, unfortunately everything written in perl, everyone can see all source codes I wrote. My question is is there anyway to protect those source codes? Compile or encrypt it? if it

stupid question about to protect source code of perl web application scripting

2019-07-06 Thread Eko Budiharto
dear all, I have a question. I have written a web application with perl, unfortunately everything written in perl, everyone can see all source codes I wrote. My question is is there anyway to protect those source codes? Compile or encrypt it? I am looking forward to a favorable reply from y

Re: Stupid question....

2008-12-06 Thread Mr. Shawn H. Corey
On Sat, 2008-12-06 at 23:09 +0900, Raymond Wan wrote: > The Perl documentation is "perldoc" and if you know you are > searching for something Perl-ish, you might as well use the search > function within perldoc (like that site I gave or as part of your > distribution) rather than Perl. To searc

Re: Stupid question....

2008-12-06 Thread Raymond Wan
Hi Andy, Jeff Pang wrote: Thanks Ray and Jeff. I feel a bit stupid and embarrassed now. Nothing is stupid for a beginner.You can learn,and you will get started. In my defence, I did google, but several websites gave me different stories which did not work.. For your case,

Re: Stupid question....

2008-12-06 Thread Jeff Pang
> Message du 06/12/08 11:54 > De : "Andy Dixon" > A : "Perl Beginners" > Copie à : > Objet : Re: Stupid question > > > Thanks Ray and Jeff. I feel a bit stupid and embarrassed now. Nothing is stupid for a beginner.You can learn,and you will get sta

Re: Stupid question....

2008-12-06 Thread Andy Dixon
On 6 Dec 2008, at 10:50, Raymond Wan wrote: Hi Andy, Andy Dixon wrote: However, coming from a PHP background, things are somewhat different. I dont seem to be able to get my head around it...! Can anyone give me a couple of pointers? Have you looked at the perl documentation: http://pe

Re: Stupid question....

2008-12-06 Thread Raymond Wan
Hi Andy, Andy Dixon wrote: However, coming from a PHP background, things are somewhat different. I dont seem to be able to get my head around it...! Can anyone give me a couple of pointers? Have you looked at the perl documentation: http://perldoc.perl.org/perllol.html ? Sounds like wha

Stupid question....

2008-12-06 Thread Andy Dixon
Hello, I am trying to add data into a multidimensional array in a loop. I'm wanting something along the lines of: @array = $record[0]='foo' $record[1]='bar' $record[2]='fue' $record[3]='bargh' $record[0]='foo'

Re: Help with Stupid question

2006-07-17 Thread Peter Cornelius
printf will round. Try it: printf ("should be 25.8 : %.1f$/", 25.79); prints: should be 25.8 : 25.8 Just one caveat here: as I understand it, sprintf() will not round the decimal, it will just truncate it, so if you need to round up or down the number, I would suggest looking through the math

RE: Help with Stupid question

2006-07-17 Thread Timothy Johnson
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Phoenix Sent: Saturday, July 15, 2006 3:22 PM To: Ralph H. Stoos Jr. Cc: beginners perl Subject: Re: Help with Stupid question >> On 7/15/06, Ralph H. Stoos Jr. <[EMAIL PROTECTED]> wrote: >

Re: Help with Stupid question

2006-07-15 Thread Tom Phoenix
On 7/15/06, Ralph H. Stoos Jr. <[EMAIL PROTECTED]> wrote: I want to know if / how the $buf/25400 part can be formatted to be a number with only two or three decimal places. In Perl, that kind of formatting is generally done with printf or its related function sprintf. Where sprintf is a functi

Help with Stupid question

2006-07-15 Thread Ralph H. Stoos Jr.
All, Believe it or not, I looked in the three Perl books I own and could not find out how to do this. My guess is that it is simple and probably the folks that wrote the three books took it for granted. Here goes, My code is this: print "Do you wish to exclude ", $buf/25400, " from the output?

Re: Stupid Question

2003-11-30 Thread drieux
On Nov 29, 2003, at 6:35 PM, John W. Krahn wrote: AFAIK all variables have a reference count. the concern is in the land of my $c = { a => { k =>1 } }; my $a = $c->{a}; my $b = \$c; Dump $c; SV = RV(0x815440) at 0x80a270 REFCNT = 2 FLAGS = (PADBUSY,PADMY,ROK) RV = 0x8012b8 SV = PVHV(0x80

Re: Stupid Question

2003-11-29 Thread John W. Krahn
Rob Dixon wrote: > > Joseph wrote: > > > > "John W. Krahn" wrote: > > > > > > If you want to clear out the hash completely then: > > > > > > %hash = (); > > > > > > Will remove all the keys and values from the hash. This will also work > > > with a hash of hashes. > > > > > > Or if you need to re

Re: Stupid Question

2003-11-29 Thread drieux
On Nov 29, 2003, at 12:29 PM, Rob Dixon wrote: [..] I agree with your point, but there's no reference counting involved here (unless the hash values were themselves references). Rob I think that is a part of the issue that folks need to also be thinking about when they are putting together HoH an

Re: Stupid Question

2003-11-29 Thread R. Joseph Newton
Rob Dixon wrote: > Joseph wrote: > > > > > > > > %hash = (); > > Hi Joseph. > > I agree with your point, but there's no reference counting involved here > (unless the hash values were themselves references). > > Rob I'll be darned, you're right. I just noticed, as I was about to argue the contra

Re: Stupid Question

2003-11-29 Thread Rob Dixon
Joseph wrote: > > "John W. Krahn" wrote: > > > Jason Dusek wrote: > > > > > > Hi Perl Beginners, > > > > Hello, > > > > > Let's say I have a hash of hashes. And I want to use it over and over > > > again, so I need to reinitialize it often. I suppose I could go > > > through each key in the hash

Re: Stupid Question

2003-11-29 Thread R. Joseph Newton
Jason Dusek wrote: > Hi Everyone, > > On Friday, November 28, 2003, at 08:51 PM, drieux wrote: > > a. how did you initialize it to begin with > > and why not simple re-use that solution > > The hash consists of filenames, line numbers and strings. > > $HASH{$file}{$line} = line of c

Re: Stupid Question

2003-11-29 Thread R. Joseph Newton
"John W. Krahn" wrote: > Jason Dusek wrote: > > > > Hi Perl Beginners, > > Hello, > > > Let's say I have a hash of hashes. And I want to use it over and over > > again, so I need to reinitialize it often. I suppose I could go > > through each key in the hash of hashes, and go through each key in

Re: Stupid Question

2003-11-28 Thread drieux
On Nov 28, 2003, at 8:54 PM, Jason Dusek wrote: Hi Everyone, On Friday, November 28, 2003, at 08:51 PM, drieux wrote: a. how did you initialize it to begin with and why not simple re-use that solution The hash consists of filenames, line numbers and strings. $HASH{$file}{$line} = line

Re: Stupid Question

2003-11-28 Thread Jason Dusek
Hi Everyone, I guess drieux was write about perldoc -f 'delete' - it completely solved my problem. So as an act of penance to the Perl community, I will flagellate myself right here on this list! for (1..108) { print 'wap'; print 'ouch'; } That'll teach me to write to the list

Re: Stupid Question

2003-11-28 Thread Jason Dusek
Hi Everyone, On Friday, November 28, 2003, at 08:51 PM, drieux wrote: a. how did you initialize it to begin with and why not simple re-use that solution The hash consists of filenames, line numbers and strings. $HASH{$file}{$line} = line of code from some file. So the script goes along

hash of hashes problem - Re: Stupid Question

2003-11-28 Thread drieux
On Nov 28, 2003, at 6:26 PM, Jason Dusek wrote: Let's say I have a hash of hashes. And I want to use it over and over again, so I need to reinitialize it often. There are two issues here, a. how did you initialize it to begin with and why not simple re-use that solution b. have you looke

Re: Stupid Question

2003-11-28 Thread John W. Krahn
Jason Dusek wrote: > > Hi Perl Beginners, Hello, > Let's say I have a hash of hashes. And I want to use it over and over > again, so I need to reinitialize it often. I suppose I could go > through each key in the hash of hashes, and go through each key in the > little hashes and use delete on

Stupid Question

2003-11-28 Thread Jason Dusek
Hi Perl Beginners, Let's say I have a hash of hashes. And I want to use it over and over again, so I need to reinitialize it often. I suppose I could go through each key in the hash of hashes, and go through each key in the little hashes and use delete on each of them. But isn't there some

Re: Probably a stupid question

2003-06-20 Thread Paul Johnson
ecommends >> > using the extension *.plx rather than *.pl. I am using active state >> > 5.8 and it doesnt seem to recognise the extension. Now realistically >> > this doesnt matter in the slightest, however, i was just wondering, >> > is the book slightly outdate

Re: Probably a stupid question

2003-06-20 Thread Jenda Krynicky
plx rather than *.pl. I am using active state > > 5.8 and it doesnt seem to recognise the extension. Now realistically > > this doesnt matter in the slightest, however, i was just wondering, > > is the book slightly outdated and should i just be using *.pl? > > Not a stupid quest

RE: Probably a stupid question

2003-06-20 Thread NYIMI Jose (BMB)
post it here people are quit cool to help. José. -Original Message- From: AustinTanney [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 4:44 PM To: [EMAIL PROTECTED] Subject: Probably a stupid question Hi folks, I'm a total novice and just teaching myself perl. I'm going thru

Re: Probably a stupid question

2003-06-20 Thread Beau E. Cox
- Original Message - From: "AustinTanney" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 20, 2003 4:43 AM Subject: Probably a stupid question Hi folks, I'm a total novice and just teaching myself perl. I'm going thru the "beginn

Re: Probably a stupid question

2003-06-20 Thread Paul Johnson
the extension. Now realistically this doesnt > matter in the slightest, however, i was just wondering, is the book > slightly outdated and should i just be using *.pl? Not a stupid question at all. .pl signifies a Perl Library. These are not seen much since Perl 5 introduced Perl Module

Re: Probably a stupid question

2003-06-20 Thread AustinTanney
Yeah that is the book I am using and it is that which recommend using the plx extension Austin - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 20, 2003 3:47 PM Subject: Re: Probably a stupid question Here is the e-book on the web

Probably a stupid question

2003-06-20 Thread AustinTanney
Hi folks, I'm a total novice and just teaching myself perl. I'm going thru the "beginning perl" book. One thing about it is that it recommends using the extension *.plx rather than *.pl. I am using active state 5.8 and it doesnt seem to recognise the extension. Now realistically this doesnt mat

Re: Stupid(?) Question on System "set"

2003-06-19 Thread Steve Grazzini
On Thu, Jun 19, 2003 at 07:01:32PM -0700, Jeff Westman wrote: >--- Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote: >> On Jun 19, Jeff Westman said: >> >>> 1 #!/bin/perl -w >>> 2 >>> 3 @a = qx{set}; >> >>> Can't exec "set": No such file or directory at ./x line 3. >>> >>> Yet, using q

Re: Stupid(?) Question on System "set"

2003-06-19 Thread Jeff Westman
--- Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote: > On Jun 19, Jeff Westman said: > > > 1 #!/bin/perl -w > > 2 > > 3 @a = qx{set}; > > >Can't exec "set": No such file or directory at ./x line 3. > > > >Yet, using qx{env} works fine. Why? > > Because 'set' is a shell built-in, an

Re: Stupid(?) Question on System "set"

2003-06-19 Thread Jeff 'japhy' Pinyan
On Jun 19, Jeff Westman said: > 1 #!/bin/perl -w > 2 > 3 @a = qx{set}; >Can't exec "set": No such file or directory at ./x line 3. > >Yet, using qx{env} works fine. Why? Because 'set' is a shell built-in, and 'env' is a program. Whatever shell Perl is using to run your command, i

Re: Stupid(?) Question on System "set"

2003-06-19 Thread Casey West
It was Thursday, June 19, 2003 when Jeff Westman took the soap box, saying: : I am trying to see what variables are set in my (parent) environment. : The following gives me an error: : : 1 #!/bin/perl -w : 2 : 3 @a = qx{set}; : 4 : 5 print foreach (@a); : 6 : : E

Stupid(?) Question on System "set"

2003-06-19 Thread Jeff Westman
I am trying to see what variables are set in my (parent) environment. The following gives me an error: 1 #!/bin/perl -w 2 3 @a = qx{set}; 4 5 print foreach (@a); 6 Error message: Can't exec "set": No such file or directory at ./x line 3. Yet, using qx{env} works

Re: One stupid question

2002-07-30 Thread Felix Geerinckx
on Tue, 30 Jul 2002 18:27:18 GMT, [EMAIL PROTECTED] (Brian Bratcher) wrote: > what is the difference between: > > my $number = 200; > and > $number = 200; > ? You should read e.g. M-J Dominus' article 'Coping with Scoping' at -- felix -- T

RE: One stupid question

2002-07-30 Thread Christian Andreassen
Try: perldoc perlfaq7 -ca -Original Message- From: Brian Bratcher [mailto:[EMAIL PROTECTED]] Sent: 30. juli 2002 20:27 To: [EMAIL PROTECTED] Subject: One stupid question Ok, I have developed a few cgi scripts. Some are located at: http://www.addapage.net/cgi-scripts/index.html I have

One stupid question

2002-07-30 Thread Brian Bratcher
Ok, I have developed a few cgi scripts. Some are located at: http://www.addapage.net/cgi-scripts/index.html I have developed on an "as we learn" type of situation. Now I must ask; what is the difference between: my $number = 200; and $number = 200; ? Im sorry to be stupid in this manner, but I

Re: Stupid question time!

2002-07-27 Thread drieux
On Saturday, July 27, 2002, at 08:33 , Wiggins d'Anconia wrote: > Janek Schleicher wrote: >> Drieux wrote at Fri, 26 Jul 2002 18:07:51 +0200: >>> p2: but I will religiously stand by the driving thesis: >>> >>> "would you really want to maintain that code?" >>> >>> having come back and 'blanch

Re: Stupid question time!

2002-07-27 Thread Wiggins d'Anconia
Janek Schleicher wrote: > Drieux wrote at Fri, 26 Jul 2002 18:07:51 +0200: > > >>p2: but I will religiously stand by the driving thesis: >> >> "would you really want to maintain that code?" >> >>having come back and 'blanched' at code that was no longer as 'readable' as it had >once been

Re: Stupid question time!

2002-07-26 Thread drieux
On Friday, July 26, 2002, at 07:44 , Nikola Janceski wrote: > Can I put an assignment in an if(){} condition? I think the issue is, would you really want to maintain that code? > ex: > if( my($var) = $string =~ /(\d+)/){ > # do stuff here > } > > And does the scope of $var

Re: Stupid question time!

2002-07-26 Thread drieux
On Friday, July 26, 2002, at 07:28 , Janek Schleicher wrote: preliminary giggle: if coding were a science then it would not be as vulnerable to religious issues so I take no offense at well reasoned counter arguments, even if it tramples all over my dogma 8-) [..]

Re: Stupid question time!

2002-07-26 Thread Janek Schleicher
Drieux wrote at Fri, 26 Jul 2002 16:53:40 +0200: > I think the issue is, > > would you really want to maintain that code? > >> ex: >> if( my($var) = $string =~ /(\d+)/){ >> # do stuff here >> } >> } >> And does the scope of $var in the example scope to the closing if } or )

Re: Newbie Stupid Question!

2002-07-15 Thread John W. Krahn
Simopoulos wrote: > > Hi All, Hello, > I'm a newbie just starting out learning Perl. > My problem is I have a bunch of files that are (.doc) files, and I want to rename > the files (.data). > I also want move then to another directory, but I don't really want to destroy or > change the old ones

RE: Newbie Stupid Question!

2002-07-15 Thread Timothy Johnson
hings like copying, renaming, copying directories, deleting full directories, etc.,etc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 11:56 AM To: [EMAIL PROTECTED] Subject: Re: Newbie Stupid Question! On Mon, Jul 15, 2002 at 01:35:15PM -0

Re: Newbie Stupid Question!

2002-07-15 Thread ccurtis
erts the "human readable" error returned by the system, such as > "permission denied" or "file not found" which can help a lot in figuring out > what's broke. Absolutely! Often a great timesaver. > From: Simopoulos [mailto:[EMAIL PROTECTED]] > Subje

RE: Newbie Stupid Question!

2002-07-15 Thread Akens, Anthony
-Original Message- From: Simopoulos [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 1:19 PM To: [EMAIL PROTECTED] Subject: Newbie Stupid Question! Hi All, I'm a newbie just starting out learning Perl. My problem is I have a bunch of files that are (.doc) files, and I want to r

Re: Newbie Stupid Question!

2002-07-15 Thread royce . wells
To: [EMAIL PROTECTED] fb.af.mil> cc: Subj

RE: Newbie Stupid Question!

2002-07-15 Thread Bob Showalter
> -Original Message- > From: Simopoulos [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 2:19 PM > To: [EMAIL PROTECTED] > Subject: Newbie Stupid Question! > > > Hi All, > I'm a newbie just starting out learning Perl. > My problem is I have a b

RE: Newbie Stupid Question!

2002-07-15 Thread Nikola Janceski
use File::Copy; # add at the top of your script ## then change rename() to copy() and you should be good. > -Original Message- > From: Simopoulos [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 2:19 PM > To: [EMAIL PROTECTED] > Subject: Newbie Stupid Question!

Newbie Stupid Question!

2002-07-15 Thread Simopoulos
Hi All, I'm a newbie just starting out learning Perl. My problem is I have a bunch of files that are (.doc) files, and I want to rename the files (.data). I also want move then to another directory, but I don't really want to destroy or change the old ones (.doc). What I've done so far doesn't wor

Re: stupid question

2001-11-19 Thread Michael D. Risser
On Saturday 17 November 2001 05:56 am, John W. Krahn rambled: > Chris And Madonna Stalnaker wrote: > > I have to start somewhere, > > When you read from STDIN on a terminal or console the line ends with a > newline (\n) so you have to remove it. Actually you don't HAVE to remove it, the vast majo

RE: stupid question

2001-11-19 Thread Bob Showalter
> -Original Message- > From: Chris and Madonna Stalnaker [mailto:[EMAIL PROTECTED]] > Sent: Saturday, November 17, 2001 1:55 AM > To: [EMAIL PROTECTED] > Subject: stupid question > > > I have to start somewhere, > > This works: > > prin

Re: stupid question

2001-11-17 Thread Scott R. Godin
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Chris And Madonna Stalnaker) wrote: > $password eq ; eq is a comparison operator not an assignment operator. you meant $password = ; always start your scripts with either #!/path/to/perl -w use strict; # ... or under Perl 5.6.1 #!/

Re: stupid question

2001-11-17 Thread John W. Krahn
Chris And Madonna Stalnaker wrote: > > I have to start somewhere, When you read from STDIN on a terminal or console the line ends with a newline (\n) so you have to remove it. > This works: > > print "Enter your name: "; > $text = ; chomp( $text = ); > print "\nHell

stupid question

2001-11-16 Thread Chris and Madonna Stalnaker
I have to start somewhere, This works: print "Enter your name: "; $text = ; print "\nHello $text\n"; print "Please enter your password: "; $password = ; if ($password == 21) { print"Correct\n"; } else

Re: Stupid question...

2001-10-26 Thread Rex Arul
October 26, 2001 8:28 PM Subject: Stupid question... Hey List, This may sound like the stupidest question so far but, I was wondering the other day is it possible for perl programs (script.pl) to be compiled like a C/C++ programs are? I can't really find any documentation on this so I th

Re: Stupid question...

2001-10-26 Thread Rex Arul
October 26, 2001 8:28 PM Subject: Stupid question... Hey List, This may sound like the stupidest question so far but, I was wondering the other day is it possible for perl programs (script.pl) to be compiled like a C/C++ programs are? I can't really find any documentation on this so I th

Re: Stupid question...

2001-10-26 Thread Rex Arul
October 26, 2001 8:28 PM Subject: Stupid question... Hey List, This may sound like the stupidest question so far but, I was wondering the other day is it possible for perl programs (script.pl) to be compiled like a C/C++ programs are? I can't really find any documentation on this so I th

RE: Stupid question...

2001-10-26 Thread Beau E. Cox
Hey - You also might try "perl2exe" (search for it on www.google.com). $40 shareware. Aloha - Beau. -Original Message- From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 2:29 PM To: [EMAIL PROTECTED] Subject: Stupid question... Hey List, This

Re: Stupid question...

2001-10-26 Thread Rex Arul
October 26, 2001 8:28 PM Subject: Stupid question... Hey List, This may sound like the stupidest question so far but, I was wondering the other day is it possible for perl programs (script.pl) to be compiled like a C/C++ programs are? I can't really find any documentation on this so I th

Re: Stupid question...

2001-10-26 Thread Rex Arul
October 26, 2001 8:28 PM Subject: Stupid question... Hey List, This may sound like the stupidest question so far but, I was wondering the other day is it possible for perl programs (script.pl) to be compiled like a C/C++ programs are? I can't really find any documentation on this so I th

Stupid question...

2001-10-26 Thread Daniel Falkenberg
Hey List, This may sound like the stupidest question so far but, I was wondering the other day is it possible for perl programs (script.pl) to be compiled like a C/C++ programs are? I can't really find any documentation on this so I thought I figured I would ask some one here. Regards, Daniel

Re: stupid question (Use strict)

2001-07-20 Thread Mooney Christophe-CMOONEY1
ginning of your script, where '$var1 $var2 ...' are the variables. HTH! - christopher -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 2:50 PM To: [EMAIL PROTECTED]; Subject: RE: stupid question (Use strict) it's a pragma.

RE: stupid question (Use strict)

2001-07-20 Thread Jeff 'japhy/Marillion' Pinyan
The 'strict' pragma has three points of function: 1. variable declaration (compile-time) 2. bareword catching (compile-time) 3. symbolic reference catching (run-time) The first of these is most often the bane of programmers new to 'strict'. Saying use strict 'vars'; means that, to the

RE: stupid question (Use strict)

2001-07-20 Thread jbarry
From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 12:59 AM To: [EMAIL PROTECTED]; Mark Saunders Subject: Re: stupid question >>>>> "Mark" == Mark Saunders <[EMAIL PROTECTED]> writes: Mark> print "Content-type:text/html\n\n"

RE: stupid question

2001-07-20 Thread Tom Malone
: Randal L. Schwartz [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 12:59 AM To: [EMAIL PROTECTED]; Mark Saunders Subject: Re: stupid question >>>>> "Mark" == Mark Saunders <[EMAIL PROTECTED]> writes: Mark> print "Content-type:text/html\n\n"; You&

RE: stupid question

2001-07-19 Thread Tom Malone
RE: stupid question If the chmod'd properties are the same, it has to be something with your webserver setup, I'd say. I've never had the problem myself, so I'm not entirely sure, but I'd guess it's something to do with allowed file-types on your webserver. What htt

RE: stupid question

2001-07-19 Thread Mark Saunders
From: Tom Malone [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 12:08 AM To: Perl List Subject: RE: stupid question Ok -COOL - it worked... Thanks for such speedy assistance!!! Just one more silly question... Why do I have to have the .cgi extension? when I tried it with the .pl extension, i

RE: stupid question

2001-07-19 Thread Scott Carmichael
e? Scott Carmichael http://jobeus.net/ icq: 445472 -Original Message- From: Tom Malone [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 10:08 PM To: Perl List Subject: RE: stupid question Ok -COOL - it worked... Thanks for such speedy assistance!!! Just one more silly que

RE: stupid question

2001-07-19 Thread Tom Malone
, July 20, 2001 12:07 AM To: 'Mark Saunders'; [EMAIL PROTECTED] Subject: RE: stupid question I was originally going to reply with the same thing, but I also got an internal error 500 when I tried that. I think you also have to add: use CGI; .. Above that as well? That fixed the er

Re: stupid question

2001-07-19 Thread Mel Matsuoka
At 11:53 PM 07/19/2001 -0400, Tom Malone wrote: >I know this is a simple, stupid question, but i can't seem to find the >answer. I've never used Perl before - only PHP. NOt very familiar with unix >either... >I'm trying to get this hello world script to work - I hav

RE: stupid question

2001-07-19 Thread Scott Carmichael
Saunders [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 10:05 PM To: [EMAIL PROTECTED] Subject: RE: stupid question It's not a stupid question. The script is fine, and it would run in a *nix shell, but you're using it on the web, so you have to add this line just below the sheb

RE: stupid question

2001-07-19 Thread Mark Saunders
It's not a stupid question. The script is fine, and it would run in a *nix shell, but you're using it on the web, so you have to add this line just below the shebang: print "Content-type:text/html\n\n"; -Original Message- From: Tom Malone [mailto:[EMAIL PROTECTED]]

stupid question

2001-07-19 Thread Tom Malone
I know this is a simple, stupid question, but i can't seem to find the answer. I've never used Perl before - only PHP. NOt very familiar with unix either... I'm trying to get this hello world script to work - I have the shebang - #!/usr/bin/perl at the beginning of the file, and v