Just as a comment, this question is somewhat off-topic for
this mailing group.
> -Original Message-
> From: Mike Brentlinger [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 7:44 PM
> To: [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: Re: Cron Job
>
>
> you want to ad
Suppose you have a large file (hundreds of thousands or millions of records)
you want
to sort, then process in Perl.
Does anyone have experience of relative speeds of:
1. Read the lines of the file into Perl, parse each line, store the lines
in an array (either an array of arrays or array of ha
Why
not just:
system
"perl -w ConvertApChecks.pl";
-Original Message-From: Dirk Bremer
[mailto:[EMAIL PROTECTED]]Sent: Monday, January 28, 2002 11:17
AMTo: [EMAIL PROTECTED]Subject:
Re: Best way to invoke a perl script from another perl
script
WriteLog
g the word
"autovivify" sometime between the second and third editions of
the Camel book.
> -Original Message-
> From: Jeffrey [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 25, 2002 5:38 PM
> To: Thiebaud Richard; Perl win32
> Subject: Re: where to find perl
> From: Rubinow, Larry [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 25, 2002 4:26 PM
> To: Perl win32
> Subject: RE: Strange assignment
>
>
> Carl Jolley wrote:
>
> > More to the point, assurance that the hash element is an array
> > reference is required in order that the following push
Ths initial assignment may not be necessary, at least in some versions of
Perl.
In Activestate 629, the following:
use strict;
my %a = ();
push @{$a{"x"}}, "abcdef";
my @a1 = @{$a{"x"}};
my $a1_size = scalar @a1;
print "a1_size: $a1_size\n";
print "a1[0]: $a1[0]\n";
gives:
C:\TEMP>t1.pl
a1_size
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 23, 2002 5:39 PM
> To: [EMAIL PROTECTED]
> Subject: Slightly OT: A faster way?
>
>
> Hi everyone,
>
> I am writing some modules to parse and unpack ISO 8211
> encoded files (many
> GB
The following:
use strict;
sub try1;
try1 "001.001.001.001";
try1 "1.1.101.1";
try1 "002.2.102.001";
exit(0);
sub try1{
my $str = shift;
my $str2 = $str;
$str2 =~ s/(^|\.)(0*)(\d*)/$1$3/go;
print "in: '$str' out: '$str2'\n";
}
gives:
C:\TEMP>c:\temp\t1.pl
in: '0
From: Simon Oliver [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 13, 2001 3:51 AM
> To: Thiebaud Richard
> Cc: 'Cornish, Merrill'; 'Marcus';
> [EMAIL PROTECTED]
> Subject: Re: Desktop database options
>
>
> Thiebaud Richard wrote:
> >
>
Have you looked at pdcurses? http://pdcurses.sourceforge.net/
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 08, 2001 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: Text based menus on Win32 and *nix
>
>
>
> Hello all,
>
> I am curre
Are you thinking of the "ref" operator, which returns the type
a reference points to?
> -Original Message-
> From: Edward G. Orton [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 08, 2001 6:11 PM
> To: Perl-Win32-Users Mailing List
> Subject: what is this variable/value anyway?
>
Bill Luebkbert wrote:
> I think he wants:
>
> print "script name: $0\n";
>
> use FindBin qw($RealScript $RealDir);
> print "fully qualified script name: $RealDir/$RealScript\n";
>
Alternately under Win32, if using Perl 5.6:
use Win32;
my ($scriptpath, $scriptname) = Win32::
> From: Satelle, StevenX [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 26, 2001 6:02 PM
> To: Perl Users Win32 (E-mail)
> Subject: pulling values from a hash?
>
..,
> foreach $k (keys %vals) {
> $key = $vals{$k};
>print "$$key[0] = $$key[2]\n";
> }
> print "$vals{'mach
Thanks to everyone for their responses.
As a followup to my question, Jurgen Guntherodt has corrected the error I
was having with Open Perl IDE with breakpoints in modules not being
recognized.
Thanks, Jurgen, for quick and helpful response!
Open Perl IDE nicely does what I was looking for as a
PPM> search tieregistry
Packages available from http://www.ActiveState.com/PPMPackages/5.6:
Win32-TieRegistry [0.23] Powerful and easy ways to manipulate a registry
PPM>
> -Original Message-
> From: Rob Lugton [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 7:50 PM
> To: [
> -Original Message-
> From: Mark Veinot [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 3:00 PM
> To: Carl Jolley; Jordan
> Cc: [EMAIL PROTECTED]
> Subject: Re: print() problem
>
>
> I would certainly recommend periods '.' between the literal
> strings, and not
> commas.
> From: Bompa [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 10:02 PM
> To: Thiebaud Richard
> Cc: perl-win32-users
> Subject: Re: Quotemeta in Regex
>
>
> Thiebaud Richard wrote:
> > More precisely, \Q puts a "\" before each non-alphab
>From: Jeffrey [mailto:[EMAIL PROTECTED]]
>Sent: Friday, November 09, 2001 10:06 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Good IDE's, either freeware or commercial, for debugging?
>
> The main point that I am making is that *I* don't need
> an IDE for Perl -- so a simple, free (as in free beer
> or
users@listserv. ActiveState. com (E-mail)
Subject: RE: Good IDE's, either freeware or commercial, for debugging?
You can have my UltraEdit when you pry my cold dead hands from the
keyboard. ;)
-Original Message-----
From: Thiebaud Richard [mailto:[EMAIL PROTECTED]]
Sent: Friday, November
What IDE's for Perl development under Win32 do people like?
I'm the primary developer for a Perl/TK applicaiton with about 10,000 lines
of code.
I'm interested trying an IDE to use, primarily for debugging. I use
UltraEdit as my primary text
editor and it has good Perl syntax coloring as well as
The documentation for the installation of ActivePerl says that it requires
Internet Explorer 5.
If I am running perl from the command-line, and not doing anything related
to the internet or the web,
is Internet Explorer required in this case?
___
Perl-
Omit the ")"
your code:
last if $contents =~ /^[^\#]/ );
should be:
last if $contents =~ /^[^\#]/;
> From: Andrew Staples [mailto:[EMAIL PROTECTED]]
> Can someone tell me why I get a syntax error with this line
> of code?
>
___
Perl-Win32-U
>From: Christopher Hahn <[EMAIL PROTECTED]>
>Subject: Background
>I have successfully use the Proc::Background module
>to run an NT batch file in the bacground.
>However, the bat file's standard out is still spewed
>at the command line. Additionally, this bat file
>has pauses that require
Details? do you have a code snippet? What is the printout from "perl -V"?
In a quick and dirty test, -d works for me on Activestate build 522.
-Original Message-
From: Lee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 10:42 AM
To: [EMAIL PROTECTED]
Subject: -d not identif
"cl" is the command line for the Microsoft Visual C++ compiler.
If you don't have it installed, this is your problem.
If you do have it installed, you need from the command line to execute
VCVARS32.bat from
the command line, out of the bin file for MSVC.
-Original Message-
From: Enrico
Jonathan D Johnston wrote:
> ... Unfortunately, you can't redirect
> the input or output of a .BAT. Annoying, I know.
Couldn't you execute:
cmd.exe /c xx.bat outfile
or something like that?
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
This is for distributing outside your organization. You can distribute it
inside your organization okay.
>
> Please note that to redistribute ActivePerl (as opposed to a Perl
> distribution you build yourself), you need a redistribution license from
> ActiveState.
_
27 matches
Mail list logo