Thanks John. It works
Regards,
Sanket Vaidya
-Original Message-
From: John W. Krahn [mailto:jwkr...@shaw.ca]
Sent: Wednesday, July 01, 2009 11:17 AM
To: Perl Beginners
Subject: Re: Substitution question
sanket vaidya wrote:
> Hi all,
Hello,
> As a part of one program I need to get th
sanket vaidya wrote:
Hi all,
Hello,
As a part of one program I need to get the current working directory. So I
get this using cwd(). I want to replace forward slash (/) by backslash (\)
in the path which I get because I work on windows.
You shouldn't need to do that.
Kindly look at the co
Are you sure that your substitution works?
With the pattern you have quoted, you should be getting a "Search
pattern not terminated" error.
To answer your other question, patterns to search must be enclosed
inside '/'s (forward slashes).
You can change pattern delimiters then you must precede th
Hi all,
As a part of one program I need to get the current working directory. So I
get this using cwd(). I want to replace forward slash (/) by backslash (\)
in the path which I get because I work on windows.
Kindly look at the code below:
use warnings;
use strict;
use Cwd;
my $cu
Hello,
I am hoping someone would be able to help me use the MQSeries module for Perl
on Windows. I have attempted to use the following steps to get the module
installed. Everything seems to fail and cannot get it installed.
Perl: Installing MQSeries CPAN module on Windows XP
Steps to get i
Thanks Chris! These are valuable pointers - I'll try them out and let
you know how it goes.
Cheers,
Ankit
-
Ankit Singla
Research Assistant - EPFL
2009/6/30 Chris Charley :
>
> - Original Message - From: "Ankit Singla"
>
>
>> Hi,
>>
>> I'm trying to use
- Original Message -
From: "Ankit Singla"
Hi,
I'm trying to use Fibonacci heaps to keep type of objects
sorted. I require the sorting to be over the key. I've only started
out with Perl and can't figure out how to extend the Heap::Elem class
to make this kind of pair objects for u
Hi,
I'm trying to use Fibonacci heaps to keep type of objects
sorted. I require the sorting to be over the key. I've only started
out with Perl and can't figure out how to extend the Heap::Elem class
to make this kind of pair objects for use with Heap::Fibonacci. I have
tried reading up the perld
Irfan Sayed asked:
> call but in this case how shud i inform to windows batch script that the
> perl script execution / exit status is non zero and stop execution
> further
Use exit() with a non-zero argument.
Look at "HELP IF" for your windows batch programming question.
HTH,
Thomas
--
To uns
Hi Irfan,
Irfan Sayed wrote:
I have one windows batch script in which i am calling one perl script. now what
i want to do is if the exit status of that perl script is non zero then batch
script should not continue executing further and if the exit status is zero
then only it shud further ex
Hi All,
I have one windows batch script in which i am calling one perl script. now what
i want to do is if the exit status of that perl script is non zero then batch
script should not continue executing further and if the exit status is zero
then only it shud further execute.
normally we use t
11 matches
Mail list logo