Re: Perl obfuscator

2010-08-20 Thread Tobias Eichner
> Why do you need any obfuscator? If you want to protect your code from > web access, put it in a module in a directory that cannot be access from > the web and put a stub that calls the module at the site. It's not as easy as this, since people receive the source code files. I know that obfus

Perl obfuscator

2010-08-20 Thread Tobias Eichner
Hello, I'm in search for a Perl obfuscator; I know there are several commercial products available, but all (at least the one I found) are quite expensive. Maybe you know of a reliable and feature-rich tool that is more affordable or distributed as open source ? -- To unsubscribe, e-mail: b

Perl/CGI related domain name for sale...

2010-06-07 Thread Tobias Eichner
We are the owner of the domain name cgiscripts-perl.com and currently think about to sell it. It has been used as an alternative domain name for a Perl scripts website, but now is no longer needed. Maybe someone of you manages a business that is affiliated to Perl/CGI programming (or knows one)

LWP module part of the standard distribution ?

2008-08-09 Thread Tobias Eichner
I wonder if the LWP module is part of the standard distribution of Perl or not ? According the list provided by Module::CoreList it isn't (tested versions 5.006, 5.008 and 5.010), but it seems that it is widely spread nevertheless. Can I rely upon LWP.pm being available on all web server (CGI) i

AW: Strange sorting, need some help

2008-07-21 Thread Tobias Eichner
@rob: Thank you for your hints :-) __ Gesendet von Yahoo! Mail. Dem pfiffigeren Posteingang. http://de.overview.mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://lear

Strange sorting, need some help

2008-07-20 Thread Tobias Eichner
I'm currently dealing with a sample program I try to understand. Here it is: --- #!/usr/bin/perl use strict; use warnings; use diagnostics; # Array to sort my @unsortiert = qw(Z A z a 19 91); # Print array to sort print "@unsortiert"; print "\n"; # Print positions of unsorted array (0 to last

Re: @INC and cross-platform path usage

2008-07-02 Thread Tobias Eichner
@Gunnar Hjalmarsson: > To me it seems as there is no perfect method. As long as you invoke your > program from command line, perhaps FindBin is the best choice. But since > you are going to write CGI programs, FindBin's failure as regards > mod_perl is not insignificant. Therefore I'd stick with

Re: @INC and cross-platform path usage

2008-07-02 Thread Tobias Eichner
@Gunnar Hjalmarsson: > That code is executed at runtime, and hence lets you require() modules > at runtime. If you want to use() a module instead, you need to make the > code be executed at compile time. You can do that by putting the code in > a BEGIN block. Thanks for noting. I've considered

Re: Re: Re: @INC and cross-platform path usage

2008-07-02 Thread Tobias Eichner
Giving it a closer look, I experience a strange behaviour. I'm using ActiveState Perl on WinXp here. The following script has been used for testing: use File::Spec; BEGIN { my ($volume,$softwaredir,$librarydir); ($volume,$softwaredir) = File::Spec->splitpath(__FILE__); $libraryd

Re: Re: Re: @INC and cross-platform path usage

2008-07-02 Thread Tobias Eichner
> * unshift (@INC,$librarydir);* ... > To the best I have read the articles and tutorials, @INC can't be updated in > this way. What I read about is that paths can't be deleted easily from @INC, but I haven' tried it yet (since I don't see an application deleting a path that others have set at @

Re: Re: Re: @INC and cross-platform path usage

2008-07-02 Thread Tobias Eichner
I wrote the following script that fits my needs; maybe someone finds it useful, maybe someone finds an error in it (if so, let me know - I tested it on OS X and Win XP): use File::Spec; my ($volume,$softwaredir,$librarydir); ($volume,$softwaredir) = File::Spec->splitpath(__FILE__); $librarydir

AW: AW: @INC and cross-platform path usage

2008-07-01 Thread Tobias Eichner
@Gunnar Hjalmarsson: > use File::Spec; > my ($vol, $progdir); > BEGIN { ($vol, $progdir) = File::Spec->splitpath( __FILE__ ) } > use lib File::Spec->catpath( $vol, $progdir, 'libraries' ); At http://perldoc.perl.org/perldata.html it is stated that __FILE__ contains the curren

AW: @INC and cross-platform path usage

2008-07-01 Thread Tobias Eichner
PERL5LIB is no choice, since there would be the same issue of how to write paths a cross-platform way. > Both those methods assume that the path to the directory where the > program resides equals the current working directory. That's often the > case, but not always. Isn't the "working direct

@INC and cross-platform path usage

2008-07-01 Thread Tobias Eichner
I have created a Perl library that I want to use with my programs (via require). However the Perl library should be placed at a sub-folder of the working directory (the place where the program runs). For example: /my/custom/path/ is the location of the program. /my/custom/path/libraries/ is the

AW: some question about komodo4

2008-07-01 Thread Tobias Eichner
> thanks for you help, but can you tell me how to set it? > could you tell me the detail process? Go to the software preferences: At the left panel select "Code Intelligence" and check the settings there (ensure that auto-completion is turned on generally). Now when you create a new file from

AW: AW: accessing imap servers using perl script - LOGIN FAILURE: access denied"

2008-06-30 Thread Tobias Eichner
> what is smtp from what i raised so far? > > I need an imap access to the server not smtp. Sorry, I meant IMAP, my mistake. Anyway, solution could be the same... to exclude problems with your source code, try an alternative server that is working for sure. Tobias. > > Thanks > > Goksie

AW: some question about komodo4

2008-06-30 Thread Tobias Eichner
> i use komodo4 for perl develop. > > but it seems that it can't support code auto-complete. > > for example ,i input "opendir" ,it can't show the dialog about auto- > complete. > > how can i find a perl extension for komodo? I'm also using it and auto-complete works fine... have you checked t

AW: accessing imap servers using perl script - LOGIN FAILURE: access denied"

2008-06-30 Thread Tobias Eichner
> Connecting to imap.mail.yahoo.com port 143 > Connected to imap.mail.yahoo.com ... > my $imapserver = 'imap.mail.yahoo.com'; > my $user = 'testkingonet'; > my $pass = '123456'; May it possible that Yahoo's SMTP server detects that it is being used by a script instead of by a mail client and ther

AW: Automation

2008-06-30 Thread Tobias Eichner
> Thanks for your information. > But here i am using Windows XP operating system Then have a look at the task planner application (Start -> All programs -> Utilities -> System programs -> Task planner). It comes with Win XP and should be easy to use. Tobias. (Sorry for double-posting, but Yahoo!