Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Perl / General Perl Topics / July 2009



Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
Concatenating selective lines from a bunch of files into a single     file27 Jul 2009 10:01 GMT8
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 languages25 Jul 2009 13:23 GMT3
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 problem25 Jul 2009 00:46 GMT8
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 subroutine24 Jul 2009 21:24 GMT3
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 character24 Jul 2009 19:53 GMT10
$ 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 values23 Jul 2009 09:42 GMT2
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 domain23 Jul 2009 03:22 GMT9
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 GMT11
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 GMT4
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 Error22 Jul 2009 15:46 GMT2
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 GMT3
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 win3222 Jul 2009 13:25 GMT5
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/Spec21 Jul 2009 03:58 GMT4
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 found20 Jul 2009 22:27 GMT1
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-library19 Jul 2009 19:03 GMT2
Author: lwall
Date: 2009-07-18 18:44:26 +0200 (Sat, 18 Jul 2009)
New Revision: 27605
Modified:
Pages: 1 2 3 4 5 June, 2009
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.