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

2017-03-02 Thread Brock Wilcox
an eye on http://www.perlconference.us/, follow @PerlConferences on the twitter, or ask me any questions here (or directly) that you might have! --Brock (one of the organizers) @awwaiid / awwa...@thelackthereof.org

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

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

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

2016-03-09 Thread Brock Wilcox
om Scalar::Util. References: http://perlmaven.com/argument-isnt-numeric-in-numeric http://perlmaven.com/automatic-value-conversion-or-casting-in-perl --Brock On Tue, Mar 8, 2016 at 4:29 PM, Kenneth Wolcott <kennethwolc...@gmail.com> wrote: > Hi; > > How do I call the built-in Perl s

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" <l...@yagibdah.de> wrote: > Hi, > > is there a way to disable the annoying warnings about carp and cgi w

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

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

2015-12-07 Thread Brock Wilcox
I don't know. But I think that worst case you can just download the single file from this library and add it to your application directly. It requires no compilation or anything. https://metacpan.org/source/MJD/Devel-Trace-0.12/Trace.pm --Brock On Mon, Dec 7, 2015 at 9:39 PM, Kenneth Wolcott

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

Re: perl6

2015-10-20 Thread Brock Wilcox
ng, etc. But I think the above is essential context for any Perl6 conversation, and illustrates how it must be fairly separate from conversations about Perl5. --Brock P.S. Another resource in addition to IRC (which is probably the best place to discuss Perl6) -- there is also a perl6-users mailing

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 echowu...@gmail.com wrote: Hi, rakesh, search

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

Re: Dynamically created perl script

2013-03-19 Thread Brock
something for you to contemplate :) --Brock -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: hash help !

2012-11-14 Thread Brock
That is the content of your file, with those ' = ' and everything? You should describe what you want the resulting %hash to contain, using the example file you provided. --Brock On 2012.11.14.17.05, jet speed wrote: Hi Is there a way, i can build an %hash from a file as Input. Appreciate you

Re: Unfamiliar calling of a subroutine

2012-06-07 Thread Brock
, in this case $catalog, always gets passed as the first parameter to the method. Usually people name it $self. The same thing happens here -- so this is equivalent to: my $item = SurfDB::split_line($catalog, $itemid); ... I think :) --Brock -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org

Re: Comparing two arrays

2012-06-06 Thread Brock
Manipulation which sounds promising, and indeed perldoc perlfaq4 contains the same entry I got to from the perldoc -q ... command above. Actually now that I look at it, perldoc perlfaq contains a list of all the questions. perldoc.perl.org is another interface you can try for similar results. --Brock

Re: help with Spreadsheet::WriteExcel please

2012-06-05 Thread Brock
$write_row = 1; for my $row (1..$row_max){ # ... $worksheet-write ($write_row, 0, $valA); $worksheet-write ($write_row, 1, $valB); $write_row++; # ... } See if that helps, --Brock -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail

Re: Undefined subroutine main::subs

2012-03-07 Thread Brock
Greetings! I think you mean 'substr' instead of 'subst'. --Brock On 2012.03.08.00.41, lina wrote: Hi, $ ./substr_accessing_examples.pl Undefined subroutine main::subst called at ./substr_accessing_examples.pl line 15. #!/usr/bin/env perl use strict; use warnings; # # get a 5

Re: stuck and need some direction

2011-10-15 Thread Brock
other lines as well. --Brock -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: stuck and need some direction

2011-10-15 Thread Brock
test cases -- like what other cells would look like, or if there could be non-HEH CDMs. --Brock -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/