On 20/09/2011 02:17, Jim Gibson wrote:
On 9/19/11 Mon Sep 19, 2011 5:56 PM, "Rajeev Prasad"
scribbled:
$string="alpha number='42'"
$string=~s/.*\=// ;
$string=~s/\'//g;
to get 42 and not '42'
can these two substitutions be combined?
If you know what you want to extract, then use capturin
On 20/09/2011 01:11, Parag Kalra wrote:
I was getting this error message for one of my script.
The reason came out out to be, I had not place a semi-colon at the end of
try-catch block.
try {
something
} catch some_exception {
do something
}
After I placed the semi-colon, I am no longe
On 9/19/11 Mon Sep 19, 2011 5:56 PM, "Rajeev Prasad"
scribbled:
> $string="alpha number='42'"
> $string=~s/.*\=// ;
> $string=~s/\'//g;
>
> to get 42 and not '42'
>
>
> can these two substitutions be combined?
If you know what you want to extract, then use capturing:
if( $string =~ /'(\d+)
On 20/09/2011 01:56, Rajeev Prasad wrote:
$string="alpha number='42'"
$string=~s/.*\=// ;
$string=~s/\'//g;
to get 42 and not '42'
can these two substitutions be combined?
Hi Rajeev
Well they can be combined, and because it is far from obvious what your
code is doing I think it should be r
On 9/19/11 Mon Sep 19, 2011 5:11 PM, "Parag Kalra"
scribbled:
> Hi,
>
> I was getting this error message for one of my script.
>
> The reason came out out to be, I had not place a semi-colon at the end of
> try-catch block.
>
> try {
>something
> } catch some_exception {
> do something
$string="alpha number='42'"
$string=~s/.*\=// ;
$string=~s/\'//g;
to get 42 and not '42'
can these two substitutions be combined?
thank you.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Hi,
I was getting this error message for one of my script.
The reason came out out to be, I had not place a semi-colon at the end of
try-catch block.
try {
something
} catch some_exception {
do something
}
After I placed the semi-colon, I am no longer getting this error (Can't use
string (
The Young and the RESTless
Perls of Our Lives
On Mon, Sep 19, 2011 at 11:14 AM, Steve Berg wrote:
>
> > This has become another long message. I am copying it to your email.
> >
> > I suspect that Jennifer is deleting my messages without reading them, as
> > I sent her a text recently to ask her
> This has become another long message. I am copying it to your email.
>
> I suspect that Jennifer is deleting my messages without reading them, as
> I sent her a text recently to ask her to contact Gma as she was unwell.
> She has had no contact from J for several weeks, although she told me
> th
This has become another long message. I am copying it to your email.
I suspect that Jennifer is deleting my messages without reading them, as
I sent her a text recently to ask her to contact Gma as she was unwell.
She has had no contact from J for several weeks, although she told me
that Jennie s
On Sat, Sep 17, 2011 at 6:15 PM, Rajeev Prasad wrote:
> Hi Salva,
> Thx for responding. I need to SSH into several nodes and run some commands
> there and capture the modified output to a file on local node from where the
> script is run.
The easiest way to do that with Net::OpenSSH::Parallel is
11 matches
Mail list logo