| Thread | Last Post | Replies |
|
| Concatenating selective lines from a bunch of files into a single file | 27 Jul 2009 10:01 GMT | 8 |
Hi experts, I have a unix dir, test and it has 100 files. I need to extract all the lines that contain a word "keyword" key word" (case insensitive) from each of those files and put all those lines into another file,
|
| indentation with multiple languages | 25 Jul 2009 13:23 GMT | 3 |
One of Masak's irritations with perl6 (http://use.perl.org/~masak/journal/39334) concerns interspacing POD and code. I ran into an analogous problem with a project I am trying to do with
|
| if .. then .. else shorthand problem | 25 Jul 2009 00:46 GMT | 8 |
I've only just started using the shorthand for the "if .. then .. else" statement: (test) ? this : or_that; Here's what I have: use strict;
|
| moving a match into a subroutine | 24 Jul 2009 21:24 GMT | 3 |
I want to have the match »something =~ /(.)/g« to be kept in a separate subroutine, because then, I can keep this at the start of my script. (I like to collect those parts of my script that I change often there.)
|
| Format a number with any leading arbitrary character | 24 Jul 2009 19:53 GMT | 10 |
$ perldoc -f sprintf # Format number with up to 8 leading zeroes $result = sprintf("%08d", $number); OK, but how do I do
|
| Please suggest - Issue with comparing values | 23 Jul 2009 09:42 GMT | 2 |
I have a perl file which is called from a ksh file. In this perl script, I have to execute a procedure and get the output parameter. this output paramtere(proces Date) needs to be compared with an input parameter(run_date). If both dates are not same, I need to exit out of
|
| create directory in other domain | 23 Jul 2009 03:22 GMT | 9 |
I have 2 sites in same server (it is dedicated one not shared) I need to create a directory in one site by using perl-script on other site. Then I try to create a new directory I got error "Permission denied".
|
| should I force a install for DBD::mysql if tests fail? | 22 Jul 2009 23:10 GMT | 11 |
I tried to install from CPAN "DBD::mysql" and it failed saying: Running make install make test had returned bad status, won't install without force I can see that the tests are failing like so:
|
| How to avoid \x{...} when converting unicode to latin1? | 22 Jul 2009 17:03 GMT | 4 |
here is a test script that outputs a unicode string which cannot be represented in latin1 to a latin1-encoded file: my $unicode="hello \x{010d} world"; binmode STDOUT,":encoding(latin1)";
|
| SpreadSHeet::WriteExcel Error | 22 Jul 2009 15:46 GMT | 2 |
I am trying to generate an excel report using perl. However, I am getting below error. Below is the sample file and error quote. Can any one suggest something? Sample Code:
|
| Which distro for windows? | 22 Jul 2009 15:18 GMT | 3 |
On one system I have Activestate Perl and on another I have Strawberry perl. both seem OK, although the Activestate one seems a bit "slicker" [OTOH, Strawberry perl includes enough machinery to install stuff from CPN.. I *think* that with Activestate you can only install prebuilt ...
|
| getting return value of external application on win32 | 22 Jul 2009 13:25 GMT | 5 |
i am calling an external command in perl on win32 as follows my $app = 'c:\program files\foo\flarp.exe status quux'; my $spam = qx/ $app 2>&1 /; now i need to get the status of executed command
|
| r27635 - docs/Perl6/Spec | 21 Jul 2009 03:58 GMT | 4 |
Author: lwall Date: 2009-07-21 03:03:38 +0200 (Tue, 21 Jul 2009) New Revision: 27635 Modified:
|
| Require a module, but not fail if not found | 20 Jul 2009 22:27 GMT | 1 |
I want to require a module, but let the script continue if the module can not be found. Currently my script will fail if it can not load/ find the module.
|
| r27605 - docs/Perl6/Spec/S32-setting-library | 19 Jul 2009 19:03 GMT | 2 |
Author: lwall Date: 2009-07-18 18:44:26 +0200 (Sat, 18 Jul 2009) New Revision: 27605 Modified:
|