Hi ,
I had built perl 5.6.1 with libwin32-0.19 on
windows2000. Earlier i was using perl 5.005 and the
starting script which calls 2 processes in background
as
system(start /b xyz.pl );
$command = abc.exe ... ;
`$command`;
works fine with perl 5.005.
But after I changed perl to perl
Title: How to 'touch' in Windows
Hi,
If I need to create a blank file in Unix I do touch file name
How do I do it in Windows ??/
Regards
Maxmelbin Neson
-
Robert Bosch
Have a look at: ExtUtils::Command
Check ActieState doc.
perl -MExtUtils::Command -e touch
Bruno Georges
Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000
|-+-
| | Maxmelbin Neson (RBIN/EDM3) |
|
Why not just use open()?
Kind regards,
Mark Anderson
Service Improvement Programme
Level 2, 113 Dundas Street
Edinburgh, EH3 5DE
Tel: 0131 523 8786
Mob: 07808 826 063
-Original Message-
From: [EMAIL PROTECTED]
[SMTP:[EMAIL PROTECTED] On Behalf Of
Maxmelbin Neson (RBIN/EDM3)
Cygwin provides touch.
--
REMEMBER THE WORLD TRADE CENTER ---= WTC 911 =--
...ne cede males
0100
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Title: How to 'touch' in Windows
Would this suit you?
open FILE, "file";
close FILE;
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Maxmelbin Neson (RBIN/EDM3)Sent: 10 March 2005
12:43To: perl-win32-users@listserv.ActiveState.comSubject:
How to 'touch' in Windows
Hi,
On Thursday 10 March 2005 01:59, Sisyphus wrote:
Si I think you can do it using the Encode module, but I don't have a demo
Si script. I do have a script that uses Text::Iconv which is reproduced here:
Any code will help :)
Si use warnings;
Si use strict;
Si use Text::Iconv;
Si
Si
On Thursday 10 March 2005 17:25, Chuck Somerville wrote:
CS But you don't see that. You see ßÚݾ·. Your e-mail address indicates
you are in Spain, so you probably have some sort of keyboard with European
accented characters on it, and your windows is probably configured to use
keyboard and
On Thursday 10 March 2005 18:47, Marcos Lorenzo de Santiago wrote:
ML Si use Text::Iconv;
Where can I find this module for windows? In activestate.com sais it's
not available for windows because it's installation fails.
I tried ppm install Text::Iconv but said it could'nt be found...
Is
Does anyone know how to add"Comments" to a
file descriptionfrom the command prompt?
I would like to change a list of files from long
names to short names, but retain the descriptions in a field like "title" or
"Comments".
file names are-
nvar_1234_Virginia_Jurisdictional_addendum.pdf
The file comments are part of the file itself. Are u talking about saving
off the long name somewhere for future reference?
--
REMEMBER THE WORLD TRADE CENTER ---= WTC 911 =--
...ne cede males
0100
___
Perl-Win32-Users mailing list
First you need a hard-and-fast rule for converting the names. In your
example it would look like you want everything up to the last number in the
second "word" (where words are delimited by "_"). Also, is it safe to assume
they are all in the same directory? If that is the case, it could be
Chris wrote:
The file comments are part of the file itself. Are u talking about saving
off the long name somewhere for future reference?
I guess I didn't explain very well. I would like to access the windows file
browser functionality in order to add a title or comment to the properties
of a
Folks,
I'm using Win32::TieRegistry to read a list of elements in a REG_MULTI_SZ
and I need help with the printing of the references returned when I use
$key-SplitMultis(1).
use Win32::TieRegistry ( Delimiter = / );
$RegKey = LMachine/System/CurrentControlSet/Services/Tcpip/Linkage/;
$key =
I think @{$ValueString} is what u want.
At 04:22 PM 3/10/05 -0500, Ben Conrad wrote:
print $ValueString-[0] \n $ValueString-[1];
\Device\{531DA74F-9197-42AA-B8D8-BDA2E6F86908}
\Device\NdisWanIp
--
REMEMBER THE WORLD TRADE CENTER ---= WTC 911 =--
...ne cede males
0100
Wow- I never knew those properties even existed...
It is possible there is some sort of a PIF file that's created when
you create comments under the summary tab?
KC
On Thu, 10 Mar 2005 15:26:29 -0500, Earthlink-m_ryan
[EMAIL PROTECTED] wrote:
Chris wrote:
The file comments are part of the
I know this is perl not javascript, I thought I was good at deciphering reg ex
but the 2nd line in this function has got me puzzled.
Can anyone decipher:
X = (!X ? 2 : X);
function round(number,X) {
// rounds number to X decimal places, defaults to 2
X = (!X ? 2 : X);
return
This is not a regular expression, but rather what is know as the ternary
operator. It is a terse way of writing an if-else statement with variable
assignment. In this case, it is the equivalent of writing:
if (!X) {
X = 2;
} else {
X = X;
}
-Original Message-
From: [EMAIL
sorry , I sent question too soon, long day.
forgot about the conditional reg ex
(test_value ? if_true : if_false)
lori
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe:
lorid wrote:
: sorry , I sent question too soon, long day.
:
:
: forgot about the conditional reg ex
It's not a regular expression. It's an operator.
: (test_value ? if_true : if_false)
Charles K. Clarkson
--
Mobile Homes Specialist
254 968-8328
Marcos Lorenzo de Santiago wrote:
On Thursday 10 March 2005 18:47, Marcos Lorenzo de Santiago wrote:
ML Si use Text::Iconv;
Where can I find this module for windows? In activestate.com sais it's
not available for windows because it's installation fails.
I tried ppm install Text::Iconv but said
i All!
In following snippet
I have 2 parallel arrays @list and @data
and I want on selecting entry in listbox
to see corresponding data array element in textbox
using UP and DOWN arrows is OK
but I have to make 2 mouse clicks to make right selection!
MY question - how to modify this scheme
to
Ben Conrad wrote:
Folks,
I'm using Win32::TieRegistry to read a list of elements in a REG_MULTI_SZ
and I need help with the printing of the references returned when I use
$key-SplitMultis(1).
use Win32::TieRegistry ( Delimiter = / );
$RegKey =
23 matches
Mail list logo