Best way to distribute Perl utility packed with Fatpacker

2014-05-16 Thread Mike Dunaway
So I've written a Perl utility and packed it with Fatpacker that I now want to distribute among the world. I've included an "install" script that the user should run: sudo ./Install.sh But the script just runs: cp eztar /usr/local/bin/eztar What's the more appropriate or common/best practice

References

2014-05-13 Thread Mike Dunaway
What's a good use of references? When is it ideal to use them? Why would you want to use them? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Increasing a counter while matching against list of given words.

2014-05-13 Thread Mike Dunaway
That makes sense, thanks. On 05/13/2014 01:46 PM, Shlomi Fish wrote: Hi Mike, please reply to the list. On Tue, 13 May 2014 12:49:42 -0500 Mike Dunaway wrote: Actually, can you tell me what's going on here: my %words_lookup = (map { $_ => 1 } @words_to_look_for); I build a has

Re: Increasing a counter while matching against list of given words.

2014-05-13 Thread Mike Dunaway
Thanks, I'll look into this and give it a try. On 05/13/2014 03:08 AM, Shlomi Fish wrote: Hi Mike, On Tue, 13 May 2014 02:36:30 -0500 Mike Dunaway wrote: Hello everyone. Let's say I have a user provide @list of words and I want to match each words against a file or a another @lis

Increasing a counter while matching against list of given words.

2014-05-13 Thread Mike Dunaway
Hello everyone. Let's say I have a user provide @list of words and I want to match each words against a file or a another @list of words and increase a counter every time a word in the given list appears in what I'm matching against, what might a possible solution look like for that? The only t

Re: Just gotten back into Perl, wondering how I could better write my first app.

2014-05-10 Thread Mike Dunaway
l follow this - http://www.shlomifish.org/humour/fortunes/show.cgi?id=God_gave_us_two_eyes . Also - please reply to all recipients - select the right option in GMail.com or whatever your client is. On Sat, 10 May 2014 04:01:06 -0500 Mike Dunaway wrote: So I've just gotten back into Perl and I've wr

Re: Just gotten back into Perl, wondering how I could better write my first app.

2014-05-10 Thread Mike Dunaway
ENU } I am not going much into the technical aspects. Hope someone will throw more light into the technical details and the best practices. Shaji On Sat, May 10, 2014 at 2:31 PM, Mike Dunaway <mailto:ekimduna...@gmail.com>> wrote: So I've just gotten back into Perl and I&#x

Just gotten back into Perl, wondering how I could better write my first app.

2014-05-10 Thread Mike Dunaway
So I've just gotten back into Perl and I've written a tarring utility for my first application. It seems to work okay, but I'm wondering how it could better be written. Any ideas? #!/usr/bin/perl -w use strict; use Archive::Tar; use Getopt::Std; use feature qw(say); my %opt;

Getting back into Perl

2014-05-09 Thread Mike Dunaway
So, it's been a while since I've used Perl and I never really got THAT deep into it to begin with, but I was reading over the source code for MetaCPAN::Client: http://api.metacpan.org/source/XSAWYERX/MetaCPAN-Client-1.003000/lib/MetaCPAN/Client.pm and I was wondering where I could read more abo

Re: split

2013-05-03 Thread Mike Dunaway
So you want to split the HTML in a way that $_ becomes one full line of text? It really depends how the HTML is written. If it's written all on one line (which is the case sometimes) you would probably need to go another route. If the HTML is written on multiple lines (and it should be for reada

Perl Application Deployment

2013-04-26 Thread Mike Dunaway
Hello everyone. Can anyone point me in the right direction to read about proper application deployment? I want a user to be able to download the application and build it on the command line using a makefile I suppose and I want dependencies to be installed automatically as well. Does this so

Re: Exposed Email Addresses

2013-03-27 Thread Mike Dunaway
Brb, unsubscribing On Mar 27, 2013, at 5:39 PM, Angela Barone wrote: >I just noticed something that's very disconcerting. Our email addresses > are being posted online from this mailing list. Does anyone know about this? > I was doing a search when I came across this page: > > http://w

Re: problem about run perl script in java

2013-02-25 Thread Mike Dunaway
On 2/26/13 1:48 AM, yunbin wang wrote: Now , I want run perl script in java, but I can't install perl on the machine, only I can copy the perl files(those installed on other machine) to that machine. so how can I initial perl INC in java that I can run perl in my java program? This is a Perl pr

Re: obfuscating code

2013-02-12 Thread Mike Dunaway
If you have to ask, you're not good enough to obfuscate or maintain your obfuscated code. On 2/12/13 11:01 AM, Rajeev Prasad wrote: freinds, what is the advice just for obfuscating code? platform is solaris. ty. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional comma

Re: Help on perl core dump

2013-01-28 Thread Mike Dunaway
So what was the question? On Jan 28, 2013, at 5:48 AM, karthik sankaran wrote: > gdb /usr/bin/perl /piroot/corefiles/core.21394 > > GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6) > > Copyright (C) 2010 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later