RE: core command line parse bug? c:\temp dir\

2000-10-27 Thread Joseph P. Discenza
ble to do internally almost anything you'd want to pass out to the shell, unless it's really an external command you're calling. Joe ========== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED]

OT: No line breaks? (Was: RE: Processing entire file at once)

2001-01-16 Thread Joseph P. Discenza
List members: Just in the new year, I've started getting a number of messages from the list that have no line breaks. When I see other people's responses to these same messages, they appear to have line breaks. Has anyone else had this problem? It doesn't affect all messages, just some (only

RE: Passing an array to a subroutine . . .

2001-01-19 Thread Joseph P. Discenza
s an array ref. Look at your call: you're passing in strings, not array refs. Try removing the quotes in the call to "mail" and see if that helps. Joe ========== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[

RE: Ptk - Titlebar color, Window icons

2001-02-05 Thread Joseph P. Discenza
with ActivePerl. Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 219.243.6040 ext. 300fax: 219.243.6060 Providing Financial

RE: HTML::TokeParser question re: scalar variables

2001-02-12 Thread Joseph P. Discenza
ies); Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 219.243.6040 ext. 300fax: 219.243.6060 Providing Financial Solutions and Compliance for ove

RE: SQL Question

2001-02-16 Thread Joseph P. Discenza
pt instead of retyping; that way we don't try to fix typos that aren't in your script. Also, this should probably be on the perl-win32-database list. Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL

RE: hash key with a regexp

2001-02-20 Thread Joseph P. Discenza
: and use it to print the data I need. Does this make sense or am : I doing something wrong? TIA Greg print ( grep (/^$var2/o, keys %hash)); should do what you want (untested, though). Joe == Joseph P. Discenza, Sr

RE: Regular Expression question

2001-03-02 Thread Joseph P. Discenza
you could do a split(/\s+and\s+/, $query-{Find}) and same : thing for : or. I'd split on or first to preserve algebraic precedence (assuming there are no parentheses) of and over or. Joe ========== Joseph P. Discenza, Sr. Programmer

RE: wantarray - wanthash??

2001-03-23 Thread Joseph P. Discenza
be done with it! Thanks! Nothing wrong with your idea, but: Why not just say "@names = keys get_sites();"? Joe ========== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton

RE: sprintf help

2001-03-29 Thread Joseph P. Discenza
ning out to do. Joe ====== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 219.243.6040 ext. 300fax: 219.243.6060 Providing

RE: in

2001-04-13 Thread Joseph P. Discenza
) { print $field-{Value}; } You may have to stick an "-Item" in between $field {Value}; I haven't worked with the Fields collection in Perl (I prefer to call GetRows and work with the array). Joe == Joseph P. Di

RE: question on regex's {}

2001-05-19 Thread Joseph P. Discenza
== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 219.243.6040 ext. 300fax: 219.243.6060 Providing Financial Solutions and Compliance for over 30 Years

RE: RegEx: Finding and replacing all characters between ( and ) ?

2001-06-07 Thread Joseph P. Discenza
suggests What if you make it s/\([^\(\)]+\)|\(\(\)\)/()/g; ? You could also stick that in a while, print it at each iteration, and watch the innermost parenthetical expressions disappear. Joe == Joseph P. Discenza, Sr

RE: scalar context question

2001-07-03 Thread Joseph P. Discenza
left. s/value/bareword/; Just being picky (pedantic). B) Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 219.243.6040 ext

RE: How to strip windows dirs

2001-11-19 Thread Joseph P. Discenza
.ext? perldoc File::Basename Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 219.243.6040 ext. 300fax

RE: How to delete a line in a file

2001-11-26 Thread Joseph P. Discenza
perldoc with your installation of Perl? You don't even have to buy a book (however good an idea that might be). Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton

RE: Accessing the windows print spooler API

2001-10-10 Thread Joseph P. Discenza
($lpPoint); ($x, $y) = unpack(LL, $lpPoint); # get the actual values Good luck! Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com

RE: How do I map 'mississippi' to 'abccbccbddb'

2001-10-15 Thread Joseph P. Discenza
Not tested, but looks ok? Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 219.243.6040 ext. 300fax: 219.243.6060 Providing

RE: Strange return value on web

2002-01-09 Thread Joseph P. Discenza
noticed that it works when I say $Response-write($Request- Form('txtName')) because then the $Response object knows how to dereference it. Hope this helps, Joe == Joseph P. Discenza, Sr. Programmer/Analyst

RE: How to sort Array of Hashes

2002-01-29 Thread Joseph P. Discenza
if you really want smallest size first. Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 219.243.6040 ext. 300fax

RE: Q: How to sort Array of Hashes

2002-01-29 Thread Joseph P. Discenza
are that much slower than array lookups, or at least not enough slower to justify the preprocess step. Do you think we can impose upon our Original Poster to run some benchmarking on his live data? Joe == Joseph P. Discenza, Sr

RE: Q: How to sort Array of Hashes

2002-01-29 Thread Joseph P. Discenza
for exploring the idiom. Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 219.243.6040 ext. 300fax: 219.243.6060

RE: Zero-suppression Regex

2002-02-12 Thread Joseph P. Discenza
== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 219.243.6040 ext. 300fax: 219.243.6060 Providing Financial Solutions and Compliance for over 30 Years

RE: Using a variable as a filehandle

2002-02-13 Thread Joseph P. Discenza
of myscalar), and it even returns undef if you try to read completely outside $myscalar. Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http

RE: How to Get Hash Array into an Object

2002-03-11 Thread Joseph P. Discenza
... Does this not work? sub GetText { my $this = shift; return $this-{'mimeparts'}{'html'}; } Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto

RE: How to Get Hash Array into an Object

2002-03-11 Thread Joseph P. Discenza
Thomas Bätzler wrote, on Monday, March 11, 2002 10:46 AM : Joseph P. Discenza [[EMAIL PROTECTED]] wrote: : Frederic Bournival wrote : : $this-{mimeparts}is an Hash Array and : : i want to get the value of this hash with the 'html' key ... : : Does this not work? : : return

RE: outlook automation problem

2002-04-05 Thread Joseph P. Discenza
. Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060 Providing

RE: Perl syntax check without using perl -c

2002-05-10 Thread Joseph P. Discenza
== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060 Providing Financial Solutions and Compliance for over 30

RE: comparing two arrays

2002-05-30 Thread Joseph P. Discenza
is your friend; learn how to use it and powerful in Perl will you be. Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com

RE: Help with sorting mixed strings

2002-07-10 Thread Joseph P. Discenza
) } @unsorted; Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060

RE: Quick Question - Decimals

2002-07-24 Thread Joseph P. Discenza
... divide by 100? Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060 Providing

RE: Regualr Expression Again...

2002-09-11 Thread Joseph P. Discenza
suggested that a trailing newline could be your problem; it certainly isn't. Are you absolutely sure your input is C:\? Can you print it out before the match? Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto

RE: A regular expression question

2002-09-12 Thread Joseph P. Discenza
== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060 Providing Financial Solutions and Compliance for over 30 Years * Please note that our

RE: HTML::Parser question

2002-09-25 Thread Joseph P. Discenza
== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060 Providing Financial Solutions and Compliance for over 30 Years * Please note that our Area Code has

RE: Terrible at my logic

2002-10-25 Thread Joseph P. Discenza
characters! The final word absorbs any remaining characters; no input shown has more than five more, and your output expects it to be a single, fourth, word. Joe == Joseph P. Discenza, Sr. Programmer/Analyst

RE: Trimming Leading and Trailing Whitespaces

2002-10-30 Thread Joseph P. Discenza
[EMAIL PROTECTED] wrote, on Wednesday, October 30, 2002 1:11 PM : Doesn't Perl have Trim function? Obviously you're confusing Perl with VB. B^) Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:jdiscenza

RE: REmoving lines from a file

2002-10-31 Thread Joseph P. Discenza
instead of n: perl -pi.bak next if ($i++ 4) [filename(s)] Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:jdiscenza;carletoninc.com Carleton Inc. http

RE: Email

2002-11-08 Thread Joseph P. Discenza
first try probably would be. Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:jdiscenza;carletoninc.com Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax

RE: Subtracting arrays

2002-11-13 Thread Joseph P. Discenza
== Joseph P. Discenza, Sr. Programmer/Analyst mailto:jdiscenza;carletoninc.com Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060 Providing Financial Solutions

RE: Regular Expression Problem

2002-11-20 Thread Joseph P. Discenza
? Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060 Providing

PPM set save not saving repositories

2002-11-21 Thread Joseph P. Discenza
== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060 Providing Financial Solutions and Compliance for over 30 Years

RE: Hash, sort and map function problem

2002-12-16 Thread Joseph P. Discenza
] = substr($mystring, $offset, $_-[1]); $offset += $_-[1]; } Feel free to use a meaningful loop variable (rather than $_), but two lines is short enough to keep the meaning clear. Joe == Joseph P. Discenza, Sr. Programmer

RE: Convert int to bitstring

2002-12-18 Thread Joseph P. Discenza
== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060 Providing Financial Solutions and Compliance for over 30 Years * Please

RE: Hashes and arrays.

2003-01-17 Thread Joseph P. Discenza
and -w to get debugging help. And don't be afraid to make short little programs to test individual parts, and look at Data::Dumper to look deep into these nested hashes for debugging. Good luck, Joe == Joseph P. Discenza, Sr

RE: Regular expressions in PERL vs VB.NET

2003-01-20 Thread Joseph P. Discenza
) the forward slash doesn't need escaping anyway since there's no slashes enclosing the regex, that you don't want to escape that slash. Try just /a instead of \/a. Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst

RE: Hashes and arrays.

2003-01-20 Thread Joseph P. Discenza
than the unsorted version, but just the wrong order? Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext

RE: sort a table

2003-01-29 Thread Joseph P. Discenza
(if they're numbers, replace cmp with =). Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300

RE: string compare

2003-01-29 Thread Joseph P. Discenza
($m1) eq uc($t1)) { should do what you want. Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040

RE: Parsing test file question

2003-03-07 Thread Joseph P. Discenza
should be printed in the : next line. Can anybody help me with this? Look at the module Text::Wrap. It will do what you want. Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED

RE: Another Regular expression problem

2003-03-10 Thread Joseph P. Discenza
by either the beginning of the line or a non-word character. I also bet you *do* want to allow one- character variables? If not, change the * back to a +. Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst

RE: Couple questions (alarm(), nested loops)

2003-03-19 Thread Joseph P. Discenza
OUTER if done_with_this_iteration; : } : } Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com

RE: Hash of arrays

2003-04-03 Thread Joseph P. Discenza
== Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED] Carleton Inc. http://www.carletoninc.com 574.243.6040 ext. 300fax: 574.243.6060 Providing Financial Solutions and Compliance for over 30

RE: help with array reference inside hash

2003-05-31 Thread Joseph P. Discenza
Erich C. Beyrent wrote, on Friday, May 30, 2003 15:37 : print STDOUT $data{params}.\n; print STDOUT @{$data{params}},\n; Good luck, Joe == Joseph P. Discenza, Sr. Programmer/Analyst mailto:[EMAIL PROTECTED