CARVIEW |
Topics: perl
Feed Subscription
Email Subscription

Please sign in or register to post.

Please sign in or register to post.
-
How can I call Perl from Java?
By Suresh Ram: 16 December 2009 - 01:01 AM
Inline-Java is the usual library to call java from Perl, and this post propose a org.perl.java module which should allow calling Perl from Java, as asked. However, because of the unpredictability o...
-
-
Dealing with GD module from CPAN.
Asked by Andrew Ivanov : 29 November 2009 - 07:51 AM
Answered by Util: Dec 01 2009 06:44 AM
Since you are using ActivePerl's pre-compiled GD module, you should not need to install libgd separately; it is included in the ActiveState binary PPM of GD. When printing a GD::Image object, yo... full answer >
-
How do I know if my Perl script is running interactively?
By brian_d_foy: 05 November 2009 - 09:23 AM
taken from perlfaq8 This is a difficult question to answer, and the best answer is only a guess. What do you really want to know? If you merely want to know if one of your filehandles is connected to...
-
-
Performance of $& vs $1 in a Perl substitution
By brian_d_foy: 04 November 2009 - 08:02 AM
Here's a benchmark with Perl 5.010. Note that 5.010 has a new /p flag that supplies a ${^MATCH} variable that acts like $& but for only one instance of the match or substitution oper...
-
How to remove duplicate lines with regular expressions
By StevenLevithan: 30 October 2009 - 08:35 AM
There is a variety of software (including the Unix command-line utility uniq and Windows PowerShell cmdlet Get-Unique) that can help you remove duplicate lines in a file or ...
-
Convert Binary, Octal, and Hexidecimal Numbers in Perl
By gnat: 20 October 2009 - 05:10 PM
Perl understands numbers specified in binary (base-2), octal (base-8), and hexadecimal (base-16) notation only when they occur as literals in your programs. If they come in as data—such as by readin...
-
How to Multiply Matrices in Perl
By gnat: 20 October 2009 - 04:53 PM
If you want to multiply a pair of two-dimensional arrays, use the PDL modules, available from CPAN. PDL is the Perl Data Language—modules that give fast access to compact matrix and mathematical fun...
-
How to Generate Random Numbers in Perl
By gnat: 20 October 2009 - 04:01 PM
If you want to make random numbers in a given range, inclusive, such as when you randomly pick an array index, simulate rolling a die in a game of chance, or generate a random password, use Perl's...
![]() ©2009, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |