Re: Writing 3D games with Perl... How's the Performance?

2010-12-24 Thread Michiel Beijen
On Fri, Dec 24, 2010 at 2:56 AM, U.N. wrote: > Anyways... Has anyone ever done something similar or close to 3D > environments with Perl on modern x86 hardware? 2D environments with > lots of complex elements in constant interaction? I think the best example of graphics and games in Perl is sti

Re: default arguments in subroutine

2011-01-03 Thread Michiel Beijen
Hi Sunita, On Mon, Jan 3, 2011 at 2:24 PM, Sunita Rani Pradhan wrote: >How can I define default arguments in Perl subroutine? Can > anybody explain with examples? Sure, the best thing to do is to use named arguments for a subroutine, by means of using a hash. This is in general bette

Re: default arguments in subroutine

2011-01-03 Thread Michiel Beijen
On Mon, Jan 3, 2011 at 5:04 PM, Shlomi Fish wrote: > Your subroutine implementation and the example do not match. Either add {...} > around the subroutine parameters to make it an anonymous hash reference, or > (less preferably IMHO) convert $param_ref to my %params = @_ (and omit the > ->). :) t

Re: Perl for windows Problem

2011-01-06 Thread Michiel Beijen
On Thu, Jan 6, 2011 at 7:46 AM, sync wrote: > That's  to say , is there some methods that I can use to write some perl > scripts on Linux Server > to check the Windows Server  System information ( CPU load , Memory and so > on )? I think the best would be to activate WMI on the Windows boxes and

Re: problems hashing

2011-01-06 Thread Michiel Beijen
Hi Chris, On Thu, Jan 6, 2011 at 7:25 PM, Chris Stinemetz wrote: > I am having problems using hash function. I would like to only extract 4 > columns of data from a text file that is ; delimited. > > Below is my code along with the errors I am receiving. Any help is > appreciated. Actually I w

Re: IPC::Shareable issue

2011-01-10 Thread Michiel Beijen
Hi, I guess you should not really use IPC::Shareable, it's last release was ages ago. It does not succeed tests on a 5.10.x perl: https://rt.cpan.org/Public/Bug/Display.html?id=41401 - and I guess the patch in this bug report will get it working for you again. I guess it would be worthwile findin

Re: repost : installing CPAN modules as part of application stack

2011-02-04 Thread Michiel Beijen
You CAN do this, but there are some drawbacks. Some CPAN modules required the availability of a C compiler. Some CPAN modules have external dependencies on for instance database libraries. Some CPAN modules require build flags. Obviously I don't know what your "applicaton stack" looks like and wha

Re: practical perl guides

2011-06-05 Thread Michiel Beijen
Hi On Wed, Jun 1, 2011 at 10:40, Erez Schatz wrote: > You don't need Microsoft Visual Studio to install perl modules. I will > go on a limb and assume here you're thinking of using MS Visual C > compiler to compile perl and subsequent c modules, but even that's not > necessary, as you could use M

Re: My first perl program after 6 years (need help on Win32::OLE ADSI script)

2012-09-07 Thread Michiel Beijen
Hi Andrew, On Thu, Sep 6, 2012 at 5:23 AM, andrew sison wrote: > I've done some reading and learned that in order to automate that > particular task using perl, I would have to use either Win32::OLE or > Net::LDAP. So I decided to use to former. Actually, I would strongly recommend using Net::LD

Re: Module deleted from cpan

2012-09-29 Thread Michiel Beijen
Hi, On Sat, Sep 29, 2012 at 4:30 PM, Ricardo Pais Oliveira wrote: > On Sat, Sep 29, 2012 at 2:02 PM, David Precious wrote: >> If you're curious about why it was removed from CPAN, you could try >> contacting the author themselves. I would imagine, though, that the >> author decided there were b

Re: Fast XML parser?

2012-10-25 Thread Michiel Beijen
Hi Octavian, On Thu, Oct 25, 2012 at 1:33 PM, Octavian Rasnita wrote: > Can you recommend an XML parser which is faster than XML::Twig? Did you try XML::LibXML ? https://www.metacpan.org/module/XML::LibXML -- Michiel -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional co

Re: Fast XML parser?

2012-10-25 Thread Michiel Beijen
I'm sorry, I did not see Shlomi's reply, it was in my spam folder for some reason. On Thu, Oct 25, 2012 at 5:30 PM, Michiel Beijen wrote: > Hi Octavian, > > On Thu, Oct 25, 2012 at 1:33 PM, Octavian Rasnita wrote: > >> Can you recommend an XML parser which is faster