The Perl Conference 2017 in DC (aka YAPC::NA 2017) - Call for Speakers

2017-03-02 Thread Brock Wilcox
This year we are holding the largest North-America Perl Conference in Washington, DC, at the US Patent and Trademark Office. It's a high-quality, inexpensive technical conference with its roots in the Perl Mongers user groups. The conference celebrates the Perl programming language and community, a

Re: having trouble understanding the built-in Perl sort with regards to mixed numbers and strings

2016-06-17 Thread Brock Wilcox
In this very particular case you should consider turning off the warning, maybe limiting it to the block. On Jun 17, 2016 5:42 PM, "Kenneth Wolcott" wrote: > On Fri, Jun 17, 2016 at 2:33 PM, Kenneth Wolcott > wrote: > > Hi; > > > > I'm having trouble understanding the built-in Perl sort with r

Re: FFI::Library issues

2016-06-16 Thread Brock Wilcox
I recommend looking at FFI::Platypus (which is referenced as preferable in the FFI::Library docs) - it works really well and is being actively developed and maintained. What do you mean by crushed? On Jun 16, 2016 05:55, "Ops Cloud" wrote: > > hello, > > I tried to access some C library (such

Re: Perl sort for reverse numeric if numbers and text are in a string, numbers first

2016-03-09 Thread Brock Wilcox
Probably you have "use warnings" turned on. You can disable the warning for numeric comparison with "no warnings 'numeric';" perl -E 'use warnings; no warnings "numeric"; my @a = ("12\thi","37\tb","123\tc","187\ta"); my @b = sort { $a <=> $b } @a; say join("\n",@b)' 12 hi 37 b 123 c

Re: carp and cgi warnings

2016-02-13 Thread Brock Wilcox
Greetings! Could you give an example of these warnings, and even better some minimal code that generates them? Thanks, --Brock On Feb 13, 2016 8:19 AM, "lee" wrote: > Hi, > > is there a way to disable the annoying warnings about carp and cgi which > cgi programs write to the web-server's log fi

Re: sure would be nice if Perl had trace command built-in

2015-12-07 Thread Brock Wilcox
lcott wrote: > On Mon, Dec 7, 2015 at 6:33 PM, Brock Wilcox > wrote: > > Give devel::trace or devel::tracemore a try :) > > Is it possible to install this from Active State repository without > having an-up-date ActiveState Perl DevKit license? > > Thanks, > Ken Wolcott >

Re: sure would be nice if Perl had trace command built-in

2015-12-07 Thread Brock Wilcox
Give devel::trace or devel::tracemore a try :) On Dec 7, 2015 21:32, "Kenneth Wolcott" wrote: > Hi; > > I've inherited a lot of Perl [mostly ActiveState] (and bash) scripts > were the former writers and maintainers did not use "use strict" and > "use warnings" and have other "less than Best Pra

Re: Perl executable problem...

2015-11-12 Thread Brock Wilcox
Greetings! Could you give us the text of your script, and maybe a screens hot of you running it? One guess is that you aren't providing the script name as expected, so perl is waiting for input. On Nov 12, 2015 08:54, "Rui Fernandes" wrote: > > > > > > > *Hi,I'm having a problem compiling a perl

Re: perl6

2015-10-20 Thread Brock Wilcox
(My apologies if these are redundant observations for this mailing list community) Also note for anyone who wonders "what's up with this Perl6 thing?" that, despite the name, "Perl6" is a VERY different programming language than Perl5. Perl6 is not Perl5 with some improvements and changes, like p

Re: Good books to study perl interpreter

2015-03-30 Thread Brock Wilcox
It'd be neat if there was an equivalent to "Ruby Under A Microscope" for Perl5. That book is FANTASTIC at exploring the internals of the YARV (c-ruby) data structures and general inner-workings. --Brock On Mon, Mar 30, 2015 at 1:13 PM, Hao Wu wrote: > Hi, rakesh, > > search 'perl internal', wi

Re: An issue of Scope that I do not understand

2015-02-27 Thread Brock Wilcox
I'm afraid a bit more context is needed to identify the problem. Could you post your entire bit of code into a gist or pastebin or something for us to see? On Feb 27, 2015 9:52 PM, "Martin G. McCormick" < mar...@server1.shellworld.net> wrote: > I put together an anonymous subroutine which