f not copying the entire list when you do the
push.
- - Martin
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
I am using Tk::TableMatrix::Spreadsheet in my application
- - Martin
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
ut (Stdout & Stderr) are both captured in the $status variable.
Hope this helps, (and I hope that's what you were asking)
And Chris answered:
>Hi Martin,
>Thanks.
>The output from what is captured?
The output from the "dir" command.
> Let me elaborate on what I
How about using WMI to register and event that get's notified of new
processes?
I
found this reference page:
http://weblogs.foxite.com/stuartdunkeld/archive/2005/09/16/915.aspx
\\Greg
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jim HansenSent: Thursday, June 08,
Have you looked at these?
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q282949
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/
impersonating_a_client.asp
http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/
IISSdk/html/9a74da49-29c
I haven't used this, but it allows you to install your script to run as a
service, you should be able to modify the service definition to change the
user to a logged in user.
(BTW, If it need to interact with the desktop, you'll need to ensure you are
on console:0 to see it. In general, only
You could try reading from STDIN and either quit on a Ctrl-Z or some other
character
Ex:
#this reads in what you type and prints it
#entering ctrl-Z is seen as a blank line and quits
while () {
print;
}
\\Greg
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED
Title: More on Gtk2
Ok, so I moved on to another problem with my Gtk2 script. This time I'm trying to use Simplemenu.pm to build simpler menus. By now I've wasted more time than I've saved, but there is a lesson in here somewhere!
I get an error that says: Can't use an undefined value as an
Title: gtk2
I'm new to gtk and (not too experienced at Perl either!). I'm taking a stab at porting NagiosWatch so it will run under Windows. The big problem was I couldn't find gtk1 .dlls so I switched it to gtk2. It went well and I have a working version. What I'm trying to solve at the mo
Title: Extutils::pkgconfig
Does anyone know where I can find this package for windows? A search in ppm3 does not find it.
Thanks
\\Greg
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listser
re?
Should they be?
What additional UNIX utilities would be useful? (Above,
I suggest diff and sort.)
What would be *really* useful is a method to pipe
filters together.
Regards,
Martin
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscri
statements will work on both
Windows and UNIX, and with text originating on both
Windows and UNIX. I welcome improvements.
Also, how do I accommodate Macs?
Many thanks,
Martin
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http
was whether it
would be possible to use stuff in the registry to tell
the locale, and to then use the locale to predict the
date format.
Best of luck,
Martin
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
pital companies, and now runs a consultancy preparing
start-ups for their initial encounter with a VC company. He
describes the process as going out and finding people in pain.
You then develop a product to remove their pain (for a price).
This is off topic, so maybe contin
$foo = "foo.txt";
my $ans = fileparse($foo, ('.txt'));
print "$ans\n";
Regards,
Martin
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
pdftotext.exe -layout" from the free Swish-e
package, http://swish-e.org/
Having converted the PDF file to text, I then
used Perl to unpick it.
"If at first you don't succeed, try, try again.
Then quit. No use being a damn fool about it."
[
2 character
encoding; this is the same as ISO-8859-1 (I think).
So, your problem is how to convert from ISO-8859-1
(also called Latin-1) to UTF-8.
Look on CPAN http://search.cpan.org/ for "Encode" and
then try using:
$string = decode("iso-8859-1", $octets);
Regards,
Martin
___
st "/"...
Not a regex, but try:
#!/usr/bin/perl
#
use File::Basename;
#
use strict;
use warnings;
#
my $foo = "http://ww.rr.bb/cat/dog/index.html";;
my (undef, $directory, undef) = fileparse($foo);
print $directory;
#
exit(0);
Regards,
Martin
___
{
$number = "09";
}
elsif ($month =~ m/^October$/i) # /i = ignore case
{
$number = "10";
}
elsif ($month =~ m/^November$/i) # /i = ignore case
{
$number = "11";
}
elsif ($month =~ m/^December$/i) # /i = ignore case
{
equested to do so. Visit:
http://www.robotstxt.org/wc/exclusion.html
Also, a good place to start would be The Web Robots FAQ
at http://www.robotstxt.org/wc/faq.html
This suggests a book or three on spiders.
Regards,
Martin
___
Perl-Win32-Users ma
nope, that didn't work. I couldn't find that entry in my ole object
browser.
I did find this link to a sender address, so can anyone help me how to
access it ??
MailItem
Class (as olObjectClass)
olObjectClass
olAddressEntry (Const olAddressEntries = 8)
AddressEntry->{Add
e.
Why? To quote "Programming Perl":
The official name of a subroutine includes the & prefix.
A subroutine may be called using the prefix, but the &
is usually optional.
When used with parentheses, the & does nothing
differently. Including it
ore and aft then maybe you
have some other nonword character(s).
Regards,
Martin
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
oth
in separate chapters and as a single lump.
Regards,
Martin
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
ing to a pipe, such as when you are running a Perl script under rsh
and want to see the output as it's happening. This has no effect on input
buffering. (Mnemonic: when you want your pipes to be piping hot.)
Regards,
Martin
___
Perl-Win32-Use
s[$loop/2], "\"\n"; ### DEBUG ###
}
#
exit(0);
I strip leading and trailing white space elsewhere, so that is
not a problem.
Many thanks for any help you can give.
Regards,
Martin
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
x27;t find" if -e $filename;
>> while () {
>>chomp;
>> ($name, $address, $city, $state, $zip) = split(/:/);
>>write ADDRESSLABEL;
>> }
Haven't tried this, but try closing the output file.
close(ADDRESSLABEL) or
die "can't close ADDRESSLABEL: $!";
>> print "Done!";
>> exit;
Regards,
Martin
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
ld use MS Word (Edit->Find->Go To->Line) but this seems
like overkill.
My background is UNIX under which I used "vi" to edit text
files. I can probably find a port of "vi" to Windows NT,
but wondered what others use.
Many thanks for any help you can give.
Regards,
ges on the ActiveState, crazyinsomniac,
and theoryx5 repositories (both 6xx and 8xx builds) -
Please, is the URL I put into PPM for crazyinsomniac build 8xx
http://crazyinsomniac.perlmonk.org/perl/ppm/5.8/
Still struggling a little with PPM.
Many thanks,
Howard Owen <[EMAIL PROTECTED]> wrote:
perl -MThe::Module::Name
On Fri, 2004-02-27 at 11:55, Lori wrote:
My main question: Is there a way to tell if I already have these modules before I
attempt to install them ?
PPM query *
I have not used Perl under UNIX, so this may not work.
Regards,
___
nd and, although my problem has not
been solved, my problem is no longer a problem.
Martin Leese wrote:
Hi,
I know this is a really dumb question (yes, there are dumb
questions), but I am stuck.
Why can I neither pipe the output from a perl script to "more"
nor redirect it to a fil
Thanks
I'll give that a go
Rgds Martin
**
This E-Mail is strictly confidential and intended solely for the
person or organisation to whom it is addressed. It may
contain privileged and confidential information and i
Guys
Does anyone know a way of using perl to start the server service on NT 4
I'm using the latest version of ActiveState perl through Komodo 2.5
Rgds Martin
**
This E-Mail is strictly confidential and intended solel
DBI, great module. you'll also need DBD:Sybase
make sure you have the correct entries in your dsedit, and can ping the
databases, then add some code like below.
Follow the instructions in 'perldoc DBI', there's lots of ways to execute
SQL and return the data.
Martin
ok , last question(s)promise
1. how can I get the current window status? (e.g is it minimised?). I found
a Win32 call IsWindowVisible(HWND hWnd) , but am unsure of how to call this.
2. where's a good place/book to pick up Win32::API programming ?
Martin
-Original Message-
e,9);
thanks for your help, it's very much appreciated.
Martin
-Original Message-
From: Groenwold, Harmen (ICT) (HK) [mailto:[EMAIL PROTECTED]
Sent: 18 September 2003 14:42
To: 'Martin Bower'; [EMAIL PROTECTED]
Subject: RE: Win32::OLE
Hi,
This took me a while to figure out, b
Can anyone tell me exactly what I need to create an environment in windows,
where I can compile my own modules ?
I can do this under Solaris fine, but am unsure of the programs I need in MS
to do this.
It needs to be opensource if possible, as I don't have a compiler installed.
Cheers
M
not sure what the difference is, apart from lazy programming.
But if:-
%rhsh=('hello_ref'=>{'hello'=>'greetings'});
you need to use the '{}' as you would refer to the hello_ref hashref as
my %hello_hash=%{$rhsh{hello_ref}};
I don't think this would work:-
my %hello_hash=%$rhsh-hello_ref};
You
gets added except it doesn't add everything, like the
ServerName which is the name in the Oracle tnsnames.ora file. I have to
go in and manually add it to the DSN.
Any ideas why?
Stanley G. Martin
System Administrator
Sprint - EIS3 Customer Care
[EMAIL PROTECTED]
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
cheers Mate,
(B
(BMarty
(B- Original Message -
(BFrom: "Burak Gursoy" <[EMAIL PROTECTED]>
(BTo: <[EMAIL PROTECTED]>
(BSent: Sunday, August 24, 2003 6:17 PM
(BSubject: RE: Listing Objects Parent Classes
(B
(B
(B> ref($obj) returns the class name and then you can search the class'
All,
(B
(BIs there a way to take an object reference, and from that object reference
(Bget a list of the classes that that class inherits from (or is a subclass
(Bof). OR from within a class, how would I do this so I could write the above
(Bmethod?
(B
(BRegards
(B
(BMarty
(B
(B
(B---
(
Title: RE: [Perl-unix-users] Thoritical limits on perl processes
Hi,
You may also want to ask yourself whether reading
the whole file into memory rather than processing it line by line is a good idea
if the file size is large.
This all depends on what you are doing with the
file's contents
x27;t
find anything that pulls all this info out, just how to put it in.
Stanley G. Martin
System Administrator
Sprint - EIS3 Customer Care
[EMAIL PROTECTED]
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.c
Perhaps the list manager could change the listmail software so that the
'from' address is always the Mailinglist address. That way nobody but the
individual who is subscribed can see their own email address. It would also
help ensure that replies to peoples posts are ALL posted through the board
so
Anybody else getting the bugbear emails coming from someone on this list?
I'm also getting it from Redhat mailing list.
Marty
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Has anyone done any scripting for the Microsoft Operations Manager (MOM)
yet? I just started to eval it for my group here in Sprint and was
wondering if it was going to be very flexible, where I could add my own
scripts to it.
Stanley G. Martin
Sprint - EIS³ Customer Care
[EMAIL PROTECTED]
<>
Net::SNMP
It's quite simple to use. But it depends on whether
you are writing something to generate snmp, or to process SNMP ,
Marty
- Original Message -
From:
Fontenot, Paul
To: [EMAIL PROTECTED]
Sent: Friday, January 17, 2003 7:01
PM
Subject: SNMP
Ca
Explain IE-specific gar. It's running on a Win2k box and IIS 5.0
Stanley G. Martin
Sprint - ISS Enterprise App/Decision Support Services
[EMAIL PROTECTED]
-Original Message-
From: pedro [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 10:42 AM
To: Stanley.G.Martin
Cc:
redentials. Anybody had any experience with this or something like it?
Stanley G. Martin
Sprint - EIS³ Customer Care
[EMAIL PROTECTED]
<>
I have a multi-level hash (about 4 hashes deep) and I want to keep the
insertion order of the keys in which it was created. I've tried use
Tie::IxHash but it doesn't seem to handle the keys in the sub-hashes.
Is there a better way to do this?
Thanks,
James
___
t;[EMAIL PROTECTED]>
To: "Martin Moss" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, January 10, 2003 7:09 PM
Subject: Re: [Perl-unix-users] listing subroutines defined locally in a
class
> take me off the list
>
> On Fri, 10
All,
I want to be able to take a class and in it's 'new'
subroutine do a check to ensure that each class has been given configuration
information for each subroutine it has defined locally within that class. The
problem I have is that I don't know how to differentiate between methods create
new about Perl.
Stanley G. Martin
Sprint - EIS³ Customer Care
[EMAIL PROTECTED]
<>
This will get records where the date is within 30 days of today:
WHERE TO_DAYS(NOW()) - TO_DAYS(DATE_FIELD) <= 30
TO_DAYS is a function in MySql. There are a number of these type
functions.
Stanley G. Martin
Sprint - ISS Enterprise App/Decision Support Services
[EMAIL PROTEC
Title: Message
Not sure what you're asking for, but it you want
the return value when you run an external code you would use
backticks:-
my @return=`/path/to/parser $arg
$arg`;
I think this puts each line of the response into a
new row in the @return array.
I'm not 100% sure on this thou
Original Message-From: Martin Moss
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10,
2002 12:51 PMTo: George Gallen;
[EMAIL PROTECTED]Subject: Re: Modules for
a website...Where to place.
hm,
to trap the error you could put the code in an
eval
rint HTTPOUT "$dir\/Text\/CSV\.pm Not Found!\n"
}}
and
it DID find ./Text/CSV and I checked, pwd was
".../cgi-bin"
Any
ideas what the internal error could be? Could it be a permissions
issue?
I
set "x" for CSV.pm for group and other
to Intel machine (both Linux/Win98), but the
webhost is running on a Sparc/RAQ
machine.
I
don't think the webhost is blocking adding on the include
path.
-Original Message-From: Martin Moss
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10,
2002 10:47 AMTo
then
use
lib '.';
use
mymodules;
Can
I mix and match that way?
Thanks for the info
George
-Original Message-From: Martin Moss
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10,
2002 10:03 AMTo: George Gallen; [EMAIL PROTECTED]Su
Title: RE: Ping routine correct?
try
use lib '.';
use mymodule;
Marty
- Original Message -
From:
George
Gallen
To: [EMAIL PROTECTED]
Sent: Tuesday, December 10, 2002 3:05
PM
Subject: Modules for a website...Where to
place.
I need to use a perl module
If you just want to code and don't care much for installation issues,
have a look at
http://www.apachefriends.org/
-> WAMPP (Apache, Mysql, Perl&Php and some other stuff like PHPmyAdmin for Windows) or LAMPP (Apache, Mysql, Perl&PHP, phpMyAdmin, proFTP, OpenSSL, GD and so on for Linux).
I've alrea
Hi Laura,
you can use
require '../../myperlscript.pl';
However I would advise you go down the .pm route.
changing a .pl file into a .pm module isn't too big a hassle - simply ensure
your script is well structured using subroutines then write a parent .pl
script to use that module and call each
Hi Laura,
Is there a specific reason to start Netscape over Explorer?
Or is it that you want to open the 'default' browser?
The following code will open the user's 'default' browser. If this was
configured to be netscape, then netscape would open. As to opening Netscape
specifically, I haven't go
Are you able to write the daemon as
well?
Or are you talking about writing a perl script to
monitor an already existing daemon?
You really need to give out more details to allow
us to give you an answer,
Regards
Marty
- Original Message -
From:
Mundell, R.
(Ronald)
Just as a matter of interest has anybody found a way to manipulate journal
entries, and perhaps merge them between different computers?
Marty
- Original Message -
From: "Ricci, Mark" <[EMAIL PROTECTED]>
To: "Perl-Win32-Users" <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 2:30
I've seen this problem when I include the line:
use Win32;
To get around it, whenever I use a function from Win32 I simply fully
qualify it.
Ex. $machine = Win32::NodeName();
I can then remove the 'use Win32' line.
Stanley G. Martin
Sprint - ISS Enterprise App/Decision S
Hello David,
hmmm i am wondering if use of Threads module will not do the work for
you...it works same on win and on unix.but i think it will need to
recode your applicationnot sure bout it..
--
Best regards,
Martinmailto:corwin@;corwin.sk
Tuesday, October
date3\n";
The output looks like this:
date1 => 2002101714:59:00
date2 => 2002102510:47:56
date3 => +0:0:1:0:19:48:56
There's defintely 7+ days between these two dates, it shows 0 days, 19
hours, 48 minutes, 56 seconds.
Is this a bug? Is my use of DateCalc incorrect? Or is the
BRq> R.
BRq> ___
BRq> Perl-Win32-Users mailing list
BRq> [EMAIL PROTECTED]
BRq> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--
Best regards,
Martinmailto:[EMAIL PROTECTED]
_
You want to write yourself a perl Module.
And then use the
use Mymod($var1,$var2);
Method
you will need to write a Module which uses exporter to export the variables
into your second script.
Take a look at http://www.perldoc.com/perl5.6.1/pod/perlmod.html
Marty
- Original Message -
Fr
7;,
parameters =>'d:\perl\bin\script.pl',
);
if( Win32::Daemon::CreateService( \%Hash ) )
{
print "Successfully added.\n";
}
else
{
print "Failed to add service: " . GetError() . "\n";
}
print "finished.\n";
sub DumpError
{
p
$Cnf{"GlobalCnf"} = "D:\\Perl\\Site\\Lib\\Date\\Manip.cnf";
This tells Manip.pm to use the file Manip to get it's global settings.
Your installation tree may differ.
Stanley G. Martin
Sprint - ISS Enterprise App/Decision Support Services
[EMAIL PROTECTED]
f period
$os_lastboot = &DateCalc($os_lastboot, "+ 300 minutes"); #
time offset
$os_lastboot = &UnixDate($os_lastboot, "%Y-%m-%d %T"); #
convert to readable time
Stanley G. Martin
Sprint - ISS Enterprise App/Decision Support Services
913.315.457
How big is the log file?
Have you exceeded the maximum size limit for a file?
Marty
- Original Message -
From: "Mark Breslauer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Cc: "Mark Breslauer" <[EMAIL PROTECTED]>
Sent: Friday, August 16, 2002 3:16 PM
Subject: [Perl-un
d.
Marty
- Original Message -
From:
Peter
Eisengrein
To: 'Martin Moss' ; [EMAIL PROTECTED]
Sent: Friday, August 16, 2002 2:40
PM
Subject: RE: [Perl-unix-users]
structuring languge dependent code
I would expect the users' default language would be in the
> The only issue I have is I want to pass it the language locale on the fly?
> Is this possible?
DOH RTFM!
Tired need slp.
Cheers all,
Marty
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/ma
Thats absolutely the problem I was trying to solve, and a great solution. It
doesn't look like there'd be issues with using it under perl 5.6?
The only issue I have is I want to pass it the language locale on the fly?
Is this possible?
Thanks Randy, you get the gold star award,
Kind regards
Mar
Title: RE: [Perl-unix-users] structuring languge dependent code
a valid point, but then to upgrade or add new
languages I'd have to reinstall everything.
- Original Message -
From:
Peter
Eisengrein
To: 'Martin Moss' ; [EMAIL PROTECTED]
Sent: T
All,
Does anybody have any suggestion how the Directory structuring of Modules.
For instance I would like to support 3 languages.
Therefore I want 3 different versions of the same module, but each one
providing error messages and output in a specific language.
so perhaps:-
MyName::SubName1::F
What you really want is to embed the
Win32:InternetExplorer. module in your perlApp app.
Or something like that. It's a way to embed an IE in your App, and I think
you can define processes.
the problem you are experiencing I belive is that your browser sessions
don't know how to handle the .exe
All,
Today I received unsubscription emails from activestate from all my
subscribed mailing lists. I just wondered if anybody else has had these in
the past.
Wondered if it was a glitch or if somebody is playing silly beggars,
Regards
Marty
___
Perl-
I can take the URL and plug it into a browser and it
comes up just fine. Any ideas???
Stanley G. Martin
Sprint - ISS Enterprise App/Decision Support Services
[EMAIL PROTECTED]
WINMAIL.DAT
Description: application/ms-tnef
Apologise all you want, it's still SPAM!
Marty
- Original Message -
From: "Carter Thompson" <[EMAIL PROTECTED]>
To: "Perl-Win32-Users (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 8:37 PM
Subject: Job Op in Perl
Considering the current economy and the fact that techni
to get some good information to help put this together. Most of
> these people have either never heard of Perl or they've heard of it but
> thought they'd get to know it later.
>
> Stanley G. Martin
> Sprint - ISS Enterprise App/Decision Support Services
> [EMAIL PROTECT
of
these people have either never heard of Perl or they've heard of it but
thought they'd get to know it later.
Stanley G. Martin
Sprint - ISS Enterprise App/Decision Support Services
[EMAIL PROTECTED]
WINMAIL.DAT
Description: application/ms-tnef
Sorry if this is a bit way off the track, I've missed the first half of the
posts,
a while back I was trying to open a URL in the default browser from a perl
script, I used a module called Win32::Shell::Execute
I didn't look into how it worked but I just used this:-
if (Win32::Shell::Execute("ope
Win32::InternetExplorer::Window
Regards
Marty
- Original Message -
From: "Tillman, James" <[EMAIL PROTECTED]>
To: "'Martin Moss'" <[EMAIL PROTECTED]>; "Jack" <[EMAIL PROTECTED]>;
"Perl-Win32-Users" <[EMAIL P
You could always launch an external browser? use Win32::Process
With the url entered in the text box.
there is also a set of modules around which allow you to embed an internet
explorer browser in your app -it wasn't quite fully working when I last
looked at it 8 months ago though:-(
Marty
-
Hi Thomas,
Just a humble suggestion, but why not define each windows process as an
object Windows::Process (or something which doesn't have an existing name).
Then have Win32::ProcInfo return a list of references to Wondows::Process
objects?
Then when MS change the next version of windows you won
7;t find a
match?
Stanley G. Martin
Sprint - ISS Enterprise App/Decision Support Services
913.315.4576
913.226.3090 PCS
[EMAIL PROTECTED]
WINMAIL.DAT
Description: application/ms-tnef
On Mon, 10 Jun 2002 10:29:28
Arms, Mike wrote:
>>PS I have learned something from this post, I didn't know you could
>>define a string using brackets as you have done...
>
>Except that what you learned:
>
> $a = (12345678904539);
>
>is a bad practise. It is a novice mistake. What is being don
On Mon, 10 Jun 2002 11:38:29
Rubinow, Larry wrote:
>Jim Angstadt wrote:
>
>> produces:
>> * 12 34 56 71 23 4*
>> *12 34 56 71 234*
>> *12 34 56 71 23 4*
>>
>> * 12 34 56 71 23 45*
>> *12 34 56 71 23 45*
>> *12 34 56 71 23 45 *
>>
>> * 12 34 5
ke
print "3 digits found: $&\n" if ($string =~ m%[\d]{3}%);
may get you started, but note that 3 digits will be found even when there are 4 or 5,
so do the tests in the right order.
---
Steve Martin
[EMAIL PROTECTED]
PS I have learned something fro
mailto:[EMAIL PROTECTED]]On Behalf Of
>steve silvers
>
>How can I put a white space between every second number.
>I have $a = (12345678904539);
>I want 12 34 56 78 90 45 39
And this worked for me:
s%([\d]{2})%$1 %g;
---
Steve Martin
[EMAIL PROTECTED]
_
When you make your call to Net::SMTP->new you should test the object
returned.
I believe that if you have errors or there are problems with configuration
information you send to Net::SMTP (could be network problems etc.) the
Net::SMTP object will return (undef). (check the docs to confirm, it may
I'm having a problem on SOME but NOT ALL of my Win2k boxes with the
Enum() method. It's very consistent on these particular servers in that
it is successful on the SetTargetComputer method, but the array is empty
after execution of the Enum method. Any thoughts on that?
Stanley
I find that VIM for windows is my preferred windows editor too:-)
> -Original Message-
> From: Warkentin, Brad [mailto:[EMAIL PROTECTED]]
> Sent: Friday 10 May 2002 15:58
> To: 'Martin Moss'; [EMAIL PROTECTED]
> Subject: RE: Preferred PERL Editor
>
>
Doesn't anybody still use VI these days?? :-)
Marty
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Tillman, James
> Sent: Friday 10 May 2002 15:37
> To: 'Warkentin, Brad'; 'Lee Goddard'; Aaron Trevena; Simon Oliver
> Cc: [EMAIL PROTECTED]
> Subj
All,
just a quickie, any recommendations for converting from one XML doc to
another?
regards
Marty
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Hm
You mean Windows Me wasn't just a throw away prototype then? :-)
Marty
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Sean Ahern
> Sent: Tuesday 07 May 2002 12:30
> To: [EMAIL PROTECTED]
> Subject: RE: Secure platforms DO matter!
1 - 100 of 176 matches
Mail list logo