I have a XML file which looks like
"...
Saurabh
.."
I want to remove the whitespace in the TAG value. I am using
while (<>)
{
s/\s*<\/NAME>/<\/NAME>/; -->This will replace the
with
print 4_;
}
On the console it is showing the value as
"...
Saurabh
.."
read
print 4_ as
print $_
in my previous mail
regards
Saurabh
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
Hi
Is it possible in perl to get the loaction of some ecexutable from the PATH
,
For example if the system path has
PATH= E:/Perl/bin
Is it possible to read it using perl
regards
Saurabh
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://list
Hi
I think $ENV{"PATH"} should work but it is giving the full string as stored
the the System PATH variable.Is it posible to get the path for a particular
executable directly
regards
saurabh
Hi
Is it possible in perl to get the loaction of some ecexutable from the PATH
,
For example if the sys
Hi
Is it possible to use the Win32::Process ::Create function without giving
the full path of the exe("C:\\perl\\bin\\Perl5.6.0.exe") like
Win32::Process::Create($run_primary, 'C:\\perl\\bin\\Perl5.6.0.exe',
"perl run_primary_aa.pl", 0,CREATE_NEW_CONSOLE, ".");
Since the exe path is already pre
Hi
Is there any method in perl to get the time in form of "HHmmSSmil" ie
hour/min/sec/millisecond
regards
saurabh
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
-Original Message-
From: Saxena, Saurabh
Sent: Thursday, June 28, 2001 8:47 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Time till millisecond
Thanks Geoff
I have one problem.Actually in my code i am also using "use Time::localtime"
so when i am using this it is n
Hi
I have one configuration file which has a variable as
ACCOUNT = 0 # Put 0 for Acct.A,1 for AcctB and 2 for AcctC
# Multiple values can be mentioned as 0,1 or 0,1,2
How should i read this file so that i can get the information as
Let in conf file it is mentione
Hi
I am trying to get all the files present in a directory using
my $filename="*.txt";
my @file_list = "";
until (@file_list = $g2_ftp_obj->ls($filename)) (Using FTP object)
But this is listing only file that are "*.txt" not that are "*.TXT".
Is there any way to m
Hi
I have a file list like following
my @file_list=("a1.exe","a2.exe","a3.invalid_exe");
I want to store only the names that has extension as ".exe" and remove the
others.I am using
my $filename=".exe";
@file_list = grep /\$filename$/i, @file_list;
10 matches
Mail list logo