RE: permanently changing @INC

2006-05-12 Thread Gavin Bowlby
Another way to do this is to append the desired paths to the environment variable PERL5LIB. This environment variable change would need to be embedded within some sort of setup script for your Perl programs, or in a .profile or equivalent file that is executed whenever users open a new command she

Re: Perl File::Copy to Samba share

2006-05-12 Thread John W. Krahn
Eugene Kosov wrote: > John W. Krahn wrote: >>> Following is the subroutine for moving the file >>> >>> sub copyFile($$) { >> >> Your subroutine _moves_ files, it does not _copy_ files, so why is it >> named >> 'copyFile'? You really, really shouldn't use prototypes. If you need to >> verify the n

Re: Parsing HL7 records using Perl

2006-05-12 Thread Ryan Perry
A sample of an HL7 file: MSH|^~\&|REG|MCM|BTS||199601121005||ADT^A04|01|P|2.2 EVN|A04|199601121005||01||199601121000 PID|||191919^^^MYHOS^MR~123-45-6789^^^USSSA^SS|253763|SMITH^JOHN^Q|| 19560129|M|||123MAIN^^BUFFALO^NY^98052^""||(123)555-0100||S|M| 10199925^^^MYHOS^AN|123-45-6789 PD1|S|F|No

Re: Perl File::Copy to Samba share

2006-05-12 Thread Eugene Kosov
John W. Krahn wrote: Following is the subroutine for moving the file sub copyFile($$) { Your subroutine _moves_ files, it does not _copy_ files, so why is it named 'copyFile'? You really, really shouldn't use prototypes. If you need to verify the number of arguments you could do somethi

Re: Parsing HL7 records using Perl

2006-05-12 Thread Jay Savage
On 5/12/06, Kenneth B. Hill <[EMAIL PROTECTED]> wrote: I'm exploring ways to parse an HL7 record/file to a PostgreSQL database table. Actually, I think all I need to do is parse/transform the HL7 record/file to delimited flat-file, and then I can use PostgreSQL's copy command to load the data int

RE: object-oriented perl mailing list

2006-05-12 Thread Ryan Frantz
> -Original Message- > From: Chad Perrin [mailto:[EMAIL PROTECTED] > Sent: Friday, May 12, 2006 2:45 PM > To: beginners@perl.org > Subject: Re: object-oriented perl mailing list > > On Sat, May 13, 2006 at 12:05:46AM +0800, Jeff Pang wrote: > > Don't ask too much,just read and write more

Re: object-oriented perl mailing list

2006-05-12 Thread Chad Perrin
On Sat, May 13, 2006 at 12:05:46AM +0800, Jeff Pang wrote: > Don't ask too much,just read and write more pls.I would suggest you read the > book of 'Learning Perl Objects, References & Modules' which is written by > Randal L. Schwartz . . . and Tom Phoenix. Also, it has sorta been replaced in n

Re: Perl File::Copy to Samba share

2006-05-12 Thread John W. Krahn
Sonika Sachdeva wrote: > Hi List, Hello, > I have a perl program scheduled to do some processing and generate > output as > .zip files ( activeState perl on WinXP) > Now the last part of the program moves .zip files from > c:\ to samba share 'S:\' > Though there is no error reported , but it act

Parsing HL7 records using Perl

2006-05-12 Thread Kenneth B. Hill
I'm exploring ways to parse an HL7 record/file to a PostgreSQL database table. Actually, I think all I need to do is parse/transform the HL7 record/file to delimited flat-file, and then I can use PostgreSQL's copy command to load the data into a table. I would appreciate any guidance here.

Perl File::Copy to Samba share

2006-05-12 Thread Sonika Sachdeva
Hi List, I have a perl program scheduled to do some processing and generate output as .zip files ( activeState perl on WinXP) Now the last part of the program moves .zip files from c:\ to samba share 'S:\' Though there is no error reported , but it actually doesn't move the files. What could be

Re: object-oriented perl mailing list

2006-05-12 Thread Jeff Pang
Don't ask too much,just read and write more pls.I would suggest you read the book of 'Learning Perl Objects, References & Modules' which is written by Randal L. Schwartz.If you have any begin questions for OOP,asking here is still recommended. -Original Message- >From: chen li <[EMAIL P

Re: Hide password on console

2006-05-12 Thread Tom Phoenix
On 5/12/06, SkyBlueshoes <[EMAIL PROTECTED]> wrote: I've googled it over and over, but I can't find the way to hide the input of a password on the console screen. I know it can be done... Do you want one of these? http://search.cpan.org/author/KTAKATA/Term-ReadPassword-Win32-0.02/Win32.pm h

Re: Hide password on console

2006-05-12 Thread Peter Cornelius
Have you looked at Term::ReadPassword? PC On May 12, 2006, at 8:50 AM, SkyBlueshoes wrote: I've googled it over and over, but I can't find the way to hide the input of a password on the console screen. I know it can be done... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: Hide password on console

2006-05-12 Thread Joshua Colson
On Fri, 2006-05-12 at 10:50 -0500, SkyBlueshoes wrote: > I've googled it over and over, but I can't find the way to hide the > input of a password on the console screen. I know it can be done... http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlfaq8.pod -- Joshua Colson <[EMAIL PROTECTED]> -

Re: Hide password on console

2006-05-12 Thread Jeff Pang
>Example: > >Username: Jowblow >Password: *** >Verify Password: *** > > >SkyBlueshoes > See here pls: http://search.cpan.org/~phoenix/Term-ReadPassword-0.07/ReadPassword.pm This module is written by our kind friend,Tom Phoenix.I think it could satisfy you. -- Jeff Pang NetEase AntiSpam

RE: Hide password on console

2006-05-12 Thread Ryan Frantz
> -Original Message- > From: SkyBlueshoes [mailto:[EMAIL PROTECTED] > Sent: Friday, May 12, 2006 11:50 AM > To: beginners@perl.org > Subject: Hide password on console > > I've googled it over and over, but I can't find the way to hide the > input of a password on the console screen. I kn

Hide password on console

2006-05-12 Thread SkyBlueshoes
I've googled it over and over, but I can't find the way to hide the input of a password on the console screen. I know it can be done... Example: Username: Jowblow Password: *** Verify Password: *** SkyBlueshoes -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: permanently changing @INC

2006-05-12 Thread Tom Phoenix
On 5/12/06, Ryan Perry <[EMAIL PROTECTED]> wrote: How can I permanently change @INC? I've seen ways to alter this temporarily, but I want to add a directory forever. Recompile perl from the source, and reinstall. Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMA

WWW::Mechanize

2006-05-12 Thread Gallagher, Tim \(NE\)
I am trying to create a script that will go out to dells website and pull warenty information for our dell computers. Has anyone worked with WWW::Mechanize? Any help would be appreciated. Here is the script that I am trying to get working. use strict; use WWW::Mechanize; my $url = "http://supp

permanently changing @INC

2006-05-12 Thread Ryan Perry
How can I permanently change @INC? I've seen ways to alter this temporarily, but I want to add a directory forever. Ryan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: object-oriented perl mailing list

2006-05-12 Thread Peter Scott
On Fri, 12 May 2006 06:08:51 -0700, chen li wrote: > Hi all, > > I just wonder if there is a forum of objecte-oriented > perl for the begginer. There's always http://www.manning-sandbox.com/forum.jspa?forumID=45 -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To uns

object-oriented perl mailing list

2006-05-12 Thread chen li
Hi all, I just wonder if there is a forum of objecte-oriented perl for the begginer. Thanks, Li __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTE