Re: Matrix Processing for fix set of records with a set number of columns

2006-03-19 Thread mgoland
- Original Message - From: Wagner, David --- Senior Programmer Analyst --- WGO [EMAIL PROTECTED] Date: Saturday, March 18, 2006 2:15 pm Subject: Matrix Processing for fix set of records with a set number of columns I am assisting a business partner in coming up with a set of

Re: Nested Loop

2006-01-19 Thread mgoland
- Original Message - From: [EMAIL PROTECTED] Date: Thursday, January 19, 2006 3:19 pm Subject: Nested Loop Greetings, Hello Basically I deleted a portion of a mysql database and need to insert the subnet back in. The output is suppose to increment the first field starting

Re: Matching the first string

2006-01-13 Thread mgoland
- Original Message - From: alex litvak [EMAIL PROTECTED] Date: Thursday, January 12, 2006 3:11 pm Subject: Matching the first string Hello all Hello im new in perl and i need some help Welcome i`ve written a script whose purpose is to put files in different directories by its

Re: Performance and precise

2005-08-23 Thread mgoland
- Original Message - From: MNibble [EMAIL PROTECTED] Date: Tuesday, August 23, 2005 7:57 am Subject: Re: Performance and precise Xavier Noria wrote: On Aug 23, 2005, at 9:51, MNibble wrote: I'm ask to think of an solution for an Webapp that does some math on data in an

Memory Testing

2005-08-18 Thread mgoland
Hi All, I am in need to do some memory stress testing. Is there a way to use C style malloc or calloc, to allocate blocks at a time ?? Thanks in advance, Mark G. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Shuffling an file

2005-08-17 Thread mgoland
- Original Message - From: [EMAIL PROTECTED] Date: Wednesday, August 17, 2005 7:27 am Subject: Shuffling an file Hello, Hi, I am working on a playlist managment program in perl - I need a way to shuffle the playlist - the playlist format is very simple - one filename on each

Re: Analyze Log

2005-08-11 Thread mgoland
- Original Message - From: Nick [EMAIL PROTECTED] Date: Thursday, August 11, 2005 10:37 am Subject: Analyze Log Hi There, Hi Nick, I am trying to analyze a simple log file and pull 2 pieces of data from it. The log looks as follows: www.example.com 42f3ca10

Re: Extracting Redundant Elements in HoHoA

2005-08-05 Thread mgoland
- Original Message - From: Gundala Viswanath [EMAIL PROTECTED] Date: Thursday, August 4, 2005 10:20 pm Subject: Extracting Redundant Elements in HoHoA Hi, Hello, Given this hash I want to identify animal that: 1.Occur more than once within the states, AND 2.Occur in more than one

Re: flock and open files

2005-07-14 Thread mgoland
- Original Message - From: bclark1 [EMAIL PROTECTED] Date: Thursday, July 14, 2005 6:48 am Subject: flock and open files Hi list Hello, My colleaque and I have just had a small disagreement with each other about file locking and reading / ammending a txt file. To up date a

Re: Help diagnosing error

2005-07-01 Thread mgoland
- Original Message - From: chad smith [EMAIL PROTECTED] Date: Friday, July 1, 2005 11:54 am Subject: Help diagnosing error Hello, Hi, I'm receiving the error below: Use of uninitialized value in concatenation (.) or string at C:\www\opma-cgi\statusview.pl line 343. when

Re: RE:Wrapper Script

2005-06-28 Thread mgoland
- Original Message - From: Larsen, Errin M HMMA/Information Technology Department [EMAIL PROTECTED] Date: Tuesday, June 28, 2005 11:25 am Subject: RE:Wrapper Script Hi Perl folks, Hello Errin No one replied to my posts about a wrapper script. I'm going to try again. I want

Re: trying up date a hash

2005-06-21 Thread mgoland
- Original Message - From: Brent Clark [EMAIL PROTECTED] Date: Tuesday, June 21, 2005 8:52 am Subject: trying up date a hash Hi all Hello, Would anyone be so kind as to look at my code. Im trying to create a hash of hashes Thanks in advance Brent Clark

Re: problem with assigning a value

2005-06-07 Thread mgoland
- Original Message - From: Vladimir Lemberg [EMAIL PROTECTED] Date: Tuesday, June 7, 2005 5:13 pm Subject: problem with assigning a value Hi, Hello I have a problem with assigning value to string. I'll be really grateful if someone will help me. use strict; use warnings; use

Re: square symbol at end of each line

2005-05-18 Thread mgoland
- Original Message - From: [EMAIL PROTECTED] Date: Wednesday, May 18, 2005 2:05 pm Subject: square symbol at end of each line Hi, Hello I have perl/tk application, where it fetches the data over the internet and displays it in a ROText widget. Everything works but in the output

Re: Fork - Process ID

2005-05-09 Thread mgoland
- Original Message - From: Paul D. Kraus [EMAIL PROTECTED] Date: Monday, May 9, 2005 10:18 am Subject: Fork - Process ID Sceniro. I have many cron jobs that run perl scripts. These perl scripts launch TbredBasic Applications. The problem I keep finding these processes hung but I

Re: extracting coordinates

2005-05-09 Thread mgoland
- Original Message - From: Aditi Gupta [EMAIL PROTECTED] Date: Monday, May 9, 2005 11:41 am Subject: extracting coordinates Hi everyone, Hello Aditi, That code is working... But my specific problem is as follows: i have a file in which data is stored as HELIX 4 4 VAL 74 LEU

Re: sorting a hash

2005-05-09 Thread mgoland
- Original Message - From: Octavian Rasnita [EMAIL PROTECTED] Date: Monday, May 9, 2005 3:32 pm Subject: sorting a hash Hi, Hello, I have a reference to a hash of hashes, something like: my $ref = { c = { name = 'a', age = 20, }, b = { name = 'e', age = 24, }, a = {

Re: extracting coordinates

2005-05-09 Thread mgoland
- Original Message - From: Aditi Gupta [EMAIL PROTECTED] Date: Monday, May 9, 2005 12:52 pm Subject: Re: extracting coordinates hi, Hello, the fields can not be splitted using /s because some fields have common boundaries, i.e. some fields are from column 31-38 and the next

Re: if else question

2005-04-28 Thread mgoland
- Original Message - From: Brian Volk [EMAIL PROTECTED] Date: Thursday, April 28, 2005 11:27 am Subject: if else question Hi All, Hello, The first time I wrote this if else statement I wrote it correctly... now I've confused myself... :~) That will happen often ! If the if

Re: RE: if else question

2005-04-28 Thread mgoland
- Original Message - From: Brian Volk [EMAIL PROTECTED] Date: Thursday, April 28, 2005 12:45 pm Subject: RE: if else question Hi All, Hello, The first time I wrote this if else statement I wrote it correctly... now I've confused myself... :~) That will

Re: Feed Net::FTP an in-memory file

2005-04-21 Thread mgoland
- Original Message - From: Peter Rabbitson [EMAIL PROTECTED] Date: Thursday, April 21, 2005 10:42 am Subject: Feed Net::FTP an in-memory file Hello everyone, Very simple: I need to generate a file and upload it to ftp. Currently I am wrapping the file together, writing it out

Re: Require / Use

2005-04-21 Thread mgoland
- Original Message - From: merlyn@stonehenge.com (Randal L. Schwartz) Date: Thursday, April 21, 2005 11:39 am Subject: Re: Require / Use Paul == Paul Kraus [EMAIL PROTECTED] writes: Because you want the action at run-time (require) vs. compile time (use), is the usual reason, I

Re: Require / Use

2005-04-21 Thread mgoland
- Original Message - From: merlyn@stonehenge.com (Randal L. Schwartz) Date: Thursday, April 21, 2005 12:10 pm Subject: Re: Require / Use mgoland == mgoland [EMAIL PROTECTED] writes: mgoland if ($certain_condition) { mgoland require Expensive::Module; mgoland my

Re: Path problem

2005-04-06 Thread mgoland
- Original Message - From: Andrew Kennard [EMAIL PROTECTED] Date: Wednesday, April 6, 2005 11:29 am Subject: Path problem Hi all Hello, Iv'e downloaded a pdf module from CPAN and am trying to use it in my webspace provided by Demon Internet (www.demon.net) but no matter what I

Re: Converting a retruned string value to a number

2005-04-06 Thread mgoland
- Original Message - From: Manish Sapariya [EMAIL PROTECTED] Date: Wednesday, April 6, 2005 10:17 am Subject: Converting a retruned string value to a number Hi List, HellO, How do i convert a string variable returned by some XPath API into a number so that I can compare it or loop

Re: Net::SSH::Perl bind socket problem

2005-04-04 Thread mgoland
- Original Message - From: gui [EMAIL PROTECTED] Date: Monday, April 4, 2005 3:16 pm Subject: Net::SSH::Perl bind socket problem hello, I'm making a simple script that's supposed to update a certain number of boxes, spread around the area. my script is supposed to to connect to

Re: multiple statments with ||

2005-04-04 Thread mgoland
- Original Message - From: Michael Gale [EMAIL PROTECTED] Date: Monday, April 4, 2005 11:30 pm Subject: multiple statments with || Hello, Yo I have the following piece of code: --snip-- if ($_ eq read) { open(fileid, /tmp/mysql_lastid) || $lastid=0; $lastid =

Re: simple server app

2005-03-29 Thread mgoland
- Original Message - From: Peter Rabbitson [EMAIL PROTECTED] Date: Tuesday, March 29, 2005 5:04 am Subject: simple server app Hi everyone, Hello, Here is my situation. I have a windows system which continuoslyruns a perl script, which utilizing Win32::Process and Win32::Setupsup

Re: Help working/searching fields in 3 files

2005-03-24 Thread mgoland
- Original Message - From: Pablo Wolter [EMAIL PROTECTED] Date: Thursday, March 24, 2005 3:43 pm Subject: Help working/searching fields in 3 files Hi, Hello, I need some ideas because I'm just trying and error programming. I have some .dat files that come in this format (call

Re: SFTP problems...

2005-03-23 Thread mgoland
- Original Message - From: Ing. Branislav Gerzo [EMAIL PROTECTED] Date: Wednesday, March 23, 2005 11:10 am Subject: Re: SFTP problems... zentara [z], on Wednesday, March 23, 2005 at 10:10 (-0500) thinks about: z Yeah, it looks like the server is version 1 of ssh, while you are z

Re: Perl Analyzing Maillog

2005-03-16 Thread mgoland
- Original Message - From: Nick Chettle [EMAIL PROTECTED] Date: Wednesday, March 16, 2005 7:02 am Subject: Perl Analyzing Maillog Hi All, Hello, I am trying to write a simple script that will analyze a Postfix maillog. The basic idea is that you give it an e-mail address and it

Re: Perl Analyzing Maillog

2005-03-16 Thread mgoland
- Original Message - From: Nick Chettle [EMAIL PROTECTED] Date: Wednesday, March 16, 2005 10:01 am Subject: Re: Perl Analyzing Maillog Hi, Thanks, that seems a far better way to do it. A few things though: I am not 100% sure what this line does. $msgids is a referance to a hash,

Re: Preserve order in a HoH

2005-03-10 Thread mgoland
- Original Message - From: Harald Ashburner [EMAIL PROTECTED] Date: Thursday, March 10, 2005 11:26 pm Subject: Preserve order in a HoH Greetings, Hello I've created a complicated structure using autovification that is essentially a hash of hash of hash of hash etc. I pass them

Re: Best way to check if element exists

2005-03-10 Thread mgoland
- Original Message - From: Ramprasad A Padmanabhan [EMAIL PROTECTED] Date: Friday, March 11, 2005 2:09 am Subject: Best way to check if element exists Hi All, Hello, Maybe this is OT , I am sorry for that. I have a specific email application , where I want to check if a

Re: output from system call

2005-03-08 Thread mgoland
- Original Message - From: [EMAIL PROTECTED] Date: Tuesday, March 8, 2005 11:29 am Subject: output from system call Hi, Hello, Is there a way to store the output of a system call on unix? sure eg. system(date); my $Date = system(date); I like to store the date output to a

Re: redefining Net::Telnet escape character

2005-02-25 Thread mgoland
Joe, Try turning binmod on. If it fails post some code and a bit more od a description of what you are trying to do. hth, Mark G. - Original Message - From: Joe Mecklin [EMAIL PROTECTED] Date: Friday, February 25, 2005 8:44 am Subject: redefining Net::Telnet escape character i sent

Re: RE: Capturing the results from Expect with backtick

2005-02-17 Thread mgoland
- Original Message - From: Tyson Sommer [EMAIL PROTECTED] Date: Thursday, February 17, 2005 11:42 am Subject: RE: Capturing the results from Expect with backtick -Original Message- From: glidden, matthew [EMAIL PROTECTED] Sent: Thursday, February 17, 2005 10:15 AM

Re: problem on socket and fork

2005-02-09 Thread mgoland
- Original Message - From: Xiaofang Zhou [EMAIL PROTECTED] Date: Wednesday, February 9, 2005 6:00 am Subject: problem on socket and fork Hi, Hello, I got some problem with socket and fork. I'm running my script on Activeperl5.6 on xp command box. I copy most of the code from

Re: while(1){print a; sleep 1;}

2005-02-09 Thread mgoland
- Original Message - From: TapasranjanMohapatra [EMAIL PROTECTED] Date: Wednesday, February 9, 2005 9:17 am Subject: while(1){print a; sleep 1;} Hi All, Hello, Why I dont get a's printed with the code below? Works well on my system, are you sure you are not redirecting the output

Re: RE: flush function

2005-01-31 Thread mgoland
- Original Message - From: Thomas Bätzler [EMAIL PROTECTED] Date: Monday, January 31, 2005 9:07 am Subject: RE: flush function Urs Wagner [EMAIL PROTECTED] asked: I have a problem on WinXP. In perl I want to read the tail of a file. The file is written with another windows

Re: Trapping Windows Web Activity

2005-01-28 Thread mgoland
- Original Message - From: James W. Thompson, II [EMAIL PROTECTED] Date: Friday, January 28, 2005 10:44 am Subject: Trapping Windows Web Activity Out of curiosity is there any method for trapping Windows HTTP traffic transparently, without establishing a proxy configuration, using

Re: no rows selected

2005-01-28 Thread mgoland
- Original Message - From: Mark Martin [EMAIL PROTECTED] Date: Friday, January 28, 2005 10:22 am Subject: no rows selected Hi, Hello, I'm running a test to see whether certain criteria in a SELECT statement return record or not. If I get a no rows selected from SQL then I want

Re: Trapping Windows Web Activity

2005-01-28 Thread mgoland
- Original Message - From: James W. Thompson, II [EMAIL PROTECTED] Date: Friday, January 28, 2005 12:20 pm Subject: Re: Trapping Windows Web Activity The system would need to run on a single user machine, not a seperate server and not require modification of IE's internet options for

Re: Problems installing Text-Iconv-1.4

2005-01-25 Thread mgoland
- Original Message - From: Chris Brown [EMAIL PROTECTED] Date: Tuesday, January 25, 2005 7:08 am Subject: Re: Problems installing Text-Iconv-1.4 Many thanks for taking the time to reply, I appreciate that. NP Chriss, we are all a big happy family here. [ Perl Lovers :O) ] Should

Re: hash slice/exists vs. grep benchmark weirdness...

2005-01-25 Thread mgoland
- Original Message - From: JupiterHost.Net [EMAIL PROTECTED] Date: Tuesday, January 25, 2005 11:01 am Subject: Re: hash slice/exists vs. grep benchmark weirdness... You have to stop spending so much time playing with all this bogus benchmarking :) It not bogus :) Its an example

Re: hash slice/exists vs. grep benchmark weirdness...

2005-01-25 Thread mgoland
- Original Message - From: JupiterHost.Net [EMAIL PROTECTED] Date: Tuesday, January 25, 2005 11:37 am Subject: Re: hash slice/exists vs. grep benchmark weirdness... Just as an FYI, you don't need exists in your code at all. It is just a waste of time in your example. Should be

Re: How to go back to a line and do something with it in an input fil e?

2005-01-25 Thread mgoland
- Original Message - From: Li, Aiguo (NIH/NCI) [EMAIL PROTECTED] Date: Monday, January 24, 2005 5:14 pm Subject: How to go back to a line and do something with it in an input fil e? hello, all. Hello Seems like there is a problem with your data, or problem is miss-read. See

Re: Problems installing Text-Iconv-1.4

2005-01-24 Thread mgoland
- Original Message - From: Chris Brown [EMAIL PROTECTED] Date: Monday, January 24, 2005 11:44 am Subject: Problems installing Text-Iconv-1.4 Hi. Hi Chriss, I'm trying to install a local copy of the W3C HTML Validator. I've managed to install all the pre-requisites apart from

Re: Can't locate loadable object for module

2005-01-20 Thread mgoland
- Original Message - From: Henry, Mark Patrick [EMAIL PROTECTED] Date: Thursday, January 20, 2005 0:54 am Subject: Can't locate loadable object for module Hi, Hello; I'm trying to use a perl module that a tool I got, ccmeter.pl, requiresand I can't no matter what I do.. I'm on

Re: Execute a perl array

2005-01-12 Thread mgoland
- Original Message - From: Groleo Marius [EMAIL PROTECTED] Date: Wednesday, January 12, 2005 1:55 am Subject: Execute a perl array Hi list! ( as usual ) Hello i have a simple question : how can i execute an array, knowing that it contains perl code? Just thought of a beter

Re: Using LWP to Browse a Perl Page

2005-01-12 Thread mgoland
- Original Message - From: Dan Armstrong [EMAIL PROTECTED] Date: Wednesday, January 12, 2005 1:20 pm Subject: Using LWP to Browse a Perl Page I've been reading this list every day for a week or so, and it's a great resource. I'm trying to use a GET or POST command to click on a

Re: Execute a perl array

2005-01-12 Thread mgoland
- Original Message - From: Chris Devers [EMAIL PROTECTED] Date: Wednesday, January 12, 2005 7:54 pm Subject: Re: Execute a perl array On Wed, 12 Jan 2005 [EMAIL PROTECTED] wrote: Just thought of a better question, how can you check if perl code is valid with out executing it [

Re: complex data structure

2005-01-10 Thread mgoland
- Original Message - From: Chris Charley [EMAIL PROTECTED] Date: Monday, January 10, 2005 12:59 pm Subject: Re: complex data structure I hope someone can explain this related question. When I run the code below I can try, I personaly perfer RoHoH..., looks like you have RoHoAoH on

Re: reference

2005-01-03 Thread mgoland
- Original Message - From: E.Horn [EMAIL PROTECTED] Date: Monday, January 3, 2005 4:51 am Subject: reference Hello! I have a problem to get the contents of a variable! How can i reference the contents of the $id variable? sub get_s($da,$id) { my $url='http:...db='; my $da=$_[0];

Re: IO::Socket::UNIX questions

2004-12-30 Thread mgoland
- Original Message - From: Dave Kettmann [EMAIL PROTECTED] Date: Thursday, December 30, 2004 5:23 pm Subject: IO::Socket::UNIX questions Hello list, Hi Dave, I am working with UNIX Sockets and have some questions that I cant seem to find answers to on the web. It can be hard to

Re: RE: LWP get only center img

2004-12-23 Thread mgoland
- Original Message - From: Brian Volk [EMAIL PROTECTED] Date: Thursday, December 23, 2004 8:55 am Subject: RE: LWP get only center img Mark, Thank you so much for your help, that worked great! It turns out that I already had the latest version of HTML::Tokeparser::Simple

Re: LWP get only center img

2004-12-22 Thread mgoland
- Original Message - From: Brian Volk [EMAIL PROTECTED] Date: Wednesday, December 22, 2004 12:59 pm Subject: LWP get only center img Hi All, Hello I have a list of url source files... I need to get a certain img src=from each file. The one thing that separates it from the

Re: Fedora core 3 breaks sendmail functionality???

2004-12-22 Thread mgoland
- Original Message - From: Michael Kraus [EMAIL PROTECTED] Date: Wednesday, December 22, 2004 6:47 pm Subject: Fedora core 3 breaks sendmail functionality??? G'day... Hello I've recently upgraded to Fedora Core 3, and have found that now my Perl scripts which use the MIME::Lite

Re: Getopt::Long , handles the number zero differently..

2004-12-21 Thread mgoland
- Original Message - From: Mike Donnelly [EMAIL PROTECTED] Date: Tuesday, December 21, 2004 10:58 am Subject: Getopt::Long , handles the number zero differently.. Hello Using the example code below, I find that I can Please paste working code use getopt handily to pass all

Re: KILL INT can not wake up $SIG{INT}

2004-12-20 Thread mgoland
- Original Message - From: Kelvin Wu [EMAIL PROTECTED] Date: Monday, December 20, 2004 0:36 am Subject: KILL INT can not wake up $SIG{INT} Hi list, Hello Anyone has such experience? KILL INT pid cannot wake up $SIG{INT} sub{}. Only on Window's, but then again I don't think

Re: looking a one liner to return the value while clearing the argument

2004-12-10 Thread mgoland
- Original Message - From: Felix Li [EMAIL PROTECTED] Date: Friday, December 10, 2004 9:48 am Subject: looking a one liner to return the value while clearing the argument Hi, Hello Is there a one liner that performs the equivalent of usualy a one liner , is something that you from

Re: reg expression in an if test

2004-11-11 Thread mgoland
- Original Message - From: Adamiec, Larry [EMAIL PROTECTED] Date: Thursday, November 11, 2004 3:26 pm Subject: reg expression in an if test I am testing a small piece of code before inserting it into a large program. I have one field where the user will insert a 9 character string.

Re: Interactive socket client

2004-10-27 Thread mgoland
- Original Message - From: Ing.Miroslav Kond?lka [EMAIL PROTECTED] Date: Wednesday, October 27, 2004 2:34 am Subject: Re: Interactive socket client [EMAIL PROTECTED] wrote: I think the problem is that your child dies before your parent reads any data and closes STDIN+OUT.

Re: Interactive socket client

2004-10-26 Thread mgoland
- Original Message - From: mkondelk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 25, 2004 6:39 AM Subject: Interactive socket client I have this interactice client: #!/usr/bin/perl -w use strict; use IO::Socket; my ($host, $port, $kidpid, $handle, $line); unless

Re: Multiple Perl installations

2004-10-20 Thread mgoland
- Original Message - From: Jenda Krynicky [EMAIL PROTECTED] To: Perl Beginners [EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 4:50 PM Subject: Re: Multiple Perl installations From: [EMAIL PROTECTED] I currently have 2 Perl installations 5.6.0 and 5.8.3 installed on one of my

Re: Multiple Perl installations

2004-10-20 Thread mgoland
Just in case anyone bumps into this problem, only solution I can find is temperatily changing /usr/opt/perl5 to point to old installation of perl. [ in my case /usr/opt/perl5.old]. Ofcourse this required root access, I am wondering if anyone knows other solutions. - Original Message -

Re: SQL2000

2004-10-19 Thread mgoland
- Original Message - From: Jenda Krynicky [EMAIL PROTECTED] Date: Monday, October 18, 2004 6:52 pm Subject: Re: SQL2000 From: Mark Goland [EMAIL PROTECTED] - Original Message - From: Jenda Krynicky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Multiple Perl installations

2004-10-19 Thread mgoland
I currently have 2 Perl installations 5.6.0 and 5.8.3 installed on one of my machines. When ever I installed new modules it alway's installs them under my latest Perl installation [ 5.8.3 ], but now I have a need to compile a module against my old Perl, is there any documentation that

SQL2000

2004-10-18 Thread mgoland
Hi all, Not sure if this is the right list to ask this question but this is the best list to get answares so I am going to give it a shot. I am trying to connect to SQL2000 server from a winXP box. I keep on failing with same error, any help would be apreciated #!PERl use warnings; use

Re: cannot call a process via telnet

2004-10-12 Thread mgoland
- Original Message - From: Christian Stalp [EMAIL PROTECTED] Date: Tuesday, October 12, 2004 12:18 pm Subject: Re: cannot call a process via telnet It appears from the docs that the Ccmd method can take a timeout as well. I suspect adding the '' will cause problems because the

Re: trying to create a daemon

2004-10-11 Thread mgoland
- Original Message - From: Radhika Sambamurti [EMAIL PROTECTED] Date: Monday, October 11, 2004 9:52 am Subject: trying to create a daemon Hi all, I am a relative newbie and I need to write a small web server load tester. I know there are many tools out there, but I would like to

Re: Problem using Mailer

2004-10-11 Thread mgoland
Ravi, What is the error msg being produced if any ?? - Original Message - From: T.S. RaviShankar [EMAIL PROTECTED] Date: Monday, October 11, 2004 10:53 am Subject: Problem using Mailer Hello, The below piece of code doesn't work for me. $sfile = $req_file;

Re: Extra newline characters.

2004-10-08 Thread mgoland
atleast he omited login+pwd. :) - Original Message - From: Chris Devers [EMAIL PROTECTED] Date: Friday, October 8, 2004 3:03 pm Subject: Re: Extra newline characters. On Fri, 8 Oct 2004, Ron Smith wrote: I'm not sure what you mean. I'm new at logging into shell accounts through

Re: Is there a module to manipulate NTFS permissions?

2004-09-28 Thread mgoland
- Original Message - From: S.A. Birl [EMAIL PROTECTED] Date: Tuesday, September 28, 2004 9:42 am Subject: Re: Is there a module to manipulate NTFS permissions? On Sep 27, John ([EMAIL PROTECTED]) typed: John: Then add the other users and groups: John: John: cacls /t /g

Re: HoH not building as expected

2004-09-17 Thread mgoland
- Original Message - From: Wiggins d Anconia [EMAIL PROTECTED] Date: Friday, September 17, 2004 10:20 am Subject: Re: HoH not building as expected - Original Message - From: Wiggins d Anconia [EMAIL PROTECTED] To: Mark Goland [EMAIL PROTECTED]; [EMAIL PROTECTED]

HoH not building as expected

2004-09-16 Thread mgoland
Hi All, I am trying to build a HoH, who's keys will be referances to products. However it seems if $e [ vendor value] is the same, the hash get's recreated instead of appending a product to already existing hash. Any ideas would be apreciated, #!PERl -w use warnings; use strict; use

Re: Copying files from One PC to another.

2004-09-10 Thread mgoland
Denham, As usual with Perl, one can express them self's as they wish. There really is no beter way to do any task, unless you have specific specifications/standards. Here is an alternative, using 'split' function. #!PERL -w use warnings; use strict; use File::Copy; my

Re: Removing a tempdir's on Windows

2004-09-10 Thread mgoland
Tim, You should close your file handles in your parsing code, before you unlink hth, Mark G - Original Message - From: Tim Donahue [EMAIL PROTECTED] Date: Friday, September 10, 2004 2:58 pm Subject: Removing a tempdir's on Windows Hello, I am writing a custom log parser for our

Re: File Size Calculator

2004-08-10 Thread mgoland
Quickest wya would be to get the left over from begining. ... print Please enter your number:\n; chomp($num=STDIN); $bytes = $num % $kilo; $num -= $bytes ... HTH, Mark G. - Original Message - From: SilverFox [EMAIL PROTECTED] Date: Monday, August 9, 2004 12:06 pm Subject: Re: File

Re: XML::Simple

2004-06-08 Thread mgoland
Wig, My Poor Mail client is very poor @ bottom post Any idea why it does not print exactly like it readslook @ tittle attribute. In source file, it is almost on top, while in output it's nearly on bottom ?? Thanks Mark G - Original Message - From: Wiggins d'Anconia [EMAIL

Hash ref's of hash's

2004-04-01 Thread mgoland
Hi all, I am trying to setup a hash who's values are referance to hash's. Data structure should look like this hash 1: setting 1 setting 2 2: setting 1 setting 2 I would think it can be accomplished with following code, but when

Re: RE: Reading files

2003-12-03 Thread mgoland
Hi Bob, Thanks for a good reply, see my coments under your questions. - Original Message - From: Bob Showalter [EMAIL PROTECTED] Date: Wednesday, December 3, 2003 9:54 am Subject: RE: Reading files [EMAIL PROTECTED] wrote: Hello All, I am trying to open a file once , and then

Reading files

2003-12-02 Thread mgoland
Hello All, I am trying to open a file once , and then duplicate it's File Handle. I am trying to workout example straight from FAQ5, with no luck. I will basicly trying to open a file, dup off a few handles and spread them across other processes. Here is the code #!/usr/bin/perl -w

ref's to subs

2003-11-04 Thread mgoland
Hello Perler's I am trying to create a hash where each key is a referance to subs. The bellow code produces the expected result, with one unexpected side-effect. Why are the subs executed when I only declare them ?? - cut #!/usr/local/bin/perl -w %hash=( 1 = funca(), 2 = funcb(),

tip with expect+sending '~.'

2003-10-30 Thread mgoland
Hello Perl'ers I am trying to automate some stuff that I normaly do using tip command. I am wondering if anyone can give me a hint how I can go about sending special signal such as '~.' or '~#' ' Thanks in Advance, Mark G -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

serial console with perl

2003-10-22 Thread mgoland
Hi All, I am trying to automate some stuff, which requires me to login through serial interfaces on Solaris 8. I have searched CPAN with no luck, and the following code producess tip non-interrective error. Any ideas ?? Thanks in advance, Mark G. midjump# cat ./console

Re: Simple question

2003-08-14 Thread mgoland
- Original Message - From: Trevor Morrison [EMAIL PROTECTED] Date: Friday, August 8, 2003 9:09 am Subject: Simple question Hi, Hello I am trying to compare two arrays to find common numbers in both. For the numbers that are not common to both, I want to write them to a file

Domino server and mail

2003-08-14 Thread mgoland
Does anyone know or worked with Domino servers, I was wondering if there is a way to connect to it, and retriev msgs,mail, etc.. Are there any modules available ?? THanks, Mark G -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: RE: printing html symbols

2003-07-24 Thread mgoland
Thanks Dan, how would I go about printing a string like: TRTH colspan=2Board # TH colspan=2Color #TH colspan=2model #TH colspan=2Serial # - Original Message - From: Dan Muey [EMAIL PROTECTED] Date: Wednesday, July 23, 2003 10:21 am Subject: RE: printing html symbols Hi all,

printing html symbols

2003-07-23 Thread mgoland
Hi all, I need to print out a whole bunch of HTML in my cgi script. How can I print things out with out escaping all the necessary symbols ?? Mark G -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: help needded

2003-07-16 Thread mgoland
- Original Message - From: vemulakonda uday bhaskar [EMAIL PROTECTED] Date: Wednesday, July 16, 2003 8:07 am Subject: help needded hi all Hi i have installed the Net::SFTP module along with all its prerequisite modules.. Have you installed the correct version of ssh ?? my

Re: Net::FTP

2003-07-10 Thread mgoland
- Original Message - From: Rob Dixon [EMAIL PROTECTED] Date: Thursday, July 10, 2003 11:36 am Subject: Re: Net::FTP Dan Muey wrote: What I'd like to do is simply: (WHERE exists() is hopefully a solution to my first question) if($ftp-exists($file)) {

Re: RE: Low Level Socket Programming

2003-07-09 Thread mgoland
He He, This is a dandy little one. Mark G - Original Message - From: Kipp, James [EMAIL PROTECTED] Date: Wednesday, July 9, 2003 7:45 am Subject: RE: Low Level Socket Programming hello, I have written a tcp socket server using the Perl Cookbook and Use Socket. This is nice

Re: Turn use strict 'refs' back on after no strict 'refs'

2003-07-03 Thread mgoland
- Original Message - From: Dan Muey [EMAIL PROTECTED] Date: Thursday, July 3, 2003 12:25 pm Subject: Turn use strict 'refs' back on after no strict 'refs' Howdy all. Hi Dan, I have the need to turn off strict refs for one line. I want to make sure strict refs is back on

Re: stdout+stderr to file?

2003-07-02 Thread mgoland
- Original Message - From: isao [EMAIL PROTECTED] Date: Tuesday, July 1, 2003 7:07 pm Subject: stdout+stderr to file? I'm writing scripts that are basically wrappers for Linux shell commands. I want to be able to 1) print messages to screen along with say the first line of any

Re: TCP/IP question

2003-07-02 Thread mgoland
- Original Message - From: McMahon, Christopher x66156 [EMAIL PROTECTED] Date: Wednesday, July 2, 2003 12:55 pm Subject: TCP/IP question Hello Christopher, I think I'm missing a concept here... I built a very simple TCP/IP server like the one on p. 441 of the Camel book.

Re: math stuff...

2003-07-01 Thread mgoland
- Original Message - From: Ling F. Zhang [EMAIL PROTECTED] Date: Tuesday, July 1, 2003 7:04 am Subject: math stuff... okay...I am glad @ how easy it is to use perl scalar both as numerical value and string...but sometimes I just need to do integer division the C way: sure, you can

Re: sockets: packing an inet sructure

2003-07-01 Thread mgoland
maybe because of big Indian small Indian problem ?? just a though I never pack'd it my self. Mark G - Original Message - From: Kipp, James [EMAIL PROTECTED] Date: Tuesday, July 1, 2003 9:24 am Subject: sockets: packing an inet sructure I am trying to hand pack an net addr. On the

Re: Regex question

2003-07-01 Thread mgoland
Hello mage - Original Message - From: [EMAIL PROTECTED] Date: Tuesday, July 1, 2003 8:20 am Subject: Regex question hi, i have this regex: \.[^(gz|html)]$ this regex should match all files (lines) NOT ending with gz or html. but this is not working. the lines ending with .gz are

Re: make CPAN::Shell-i; print to a filehandle

2003-06-30 Thread mgoland
Hi Harry, - Original Message - From: Harry Putnam [EMAIL PROTECTED] Date: Monday, June 30, 2003 1:34 am Subject: Re: make CPAN::Shell-i; print to a filehandle Mark G [EMAIL PROTECTED] writes: - Original Message - From: Harry Putnam [EMAIL PROTECTED] To: Mark G [EMAIL

  1   2   >