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

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

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

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

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: 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: > > print "Enter your name: "; > $text = ; >

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

Re: Stupid question...

2001-10-26 Thread Rex Arul
Daniel, If your OS is Windows, then try the Perl Development Kit of Activestate Corp, which enables you to produce EXEs, DLLs, etc http://www.activestate.com - Original Message - From: "Daniel Falkenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 8:28 P

Re: Stupid question...

2001-10-26 Thread Rex Arul
Daniel, If your OS is Windows, then try the Perl Development Kit of Activestate Corp, which enables you to produce EXEs, DLLs, etc http://www.activestate.com - Original Message - From: "Daniel Falkenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 8:28 P

Re: Stupid question...

2001-10-26 Thread Rex Arul
Daniel, If your OS is Windows, then try the Perl Development Kit of Activestate Corp, which enables you to produce EXEs, DLLs, etc http://www.activestate.com - Original Message - From: "Daniel Falkenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 8:28 P

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 may sound

Re: Stupid question...

2001-10-26 Thread Rex Arul
Daniel, If your OS is Windows, then try the Perl Development Kit of Activestate Corp, which enables you to produce EXEs, DLLs, etc http://www.activestate.com - Original Message - From: "Daniel Falkenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 8:28 P

Re: Stupid question...

2001-10-26 Thread Rex Arul
Daniel, If your OS is Windows, then try the Perl Development Kit of Activestate Corp, which enables you to produce EXEs, DLLs, etc http://www.activestate.com - Original Message - From: "Daniel Falkenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 8:28 P

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
pd server do you use? 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 mor

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 have the shebang - >#!/usr/bin/perl

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]] Sent: Thursday, July 1