Re: Xerces 2.5 installation problem on solaris 9

2006-01-24 Thread Tom Phoenix
On 1/24/06, John Rose <[EMAIL PROTECTED]> wrote: > and make test (which is never 100% ok) > and make install > Xerces PERL does not seem to install. Is there > something in that that should be in that installation > sequence that isnt there? There is no formal requirement that one should progres

Re: negative match

2006-01-24 Thread Tom Phoenix
On 1/24/06, Adriano Allora <[EMAIL PROTECTED]> wrote: > and the pattern results in stdout as this: > ^(?:(?-xism:ara\w+))[^A-Z]*((?-xism:[A-Z]+))[^A-Z]*(?!arabo) > It's quite strange: the first and second element have got a pair of > brackets more and I don't understand what -xism does mean. It's

Re: Quick regex question

2006-01-24 Thread John W. Krahn
Chris wrote: > Hi list, Hello, > I am not sure if there is a proper name for this but was having some > difficulty searching for it. > > Basically I have data in a file that is between two different > characters, for example: > > # data data > data > data data data * > # more dataaa > mor *

Re: Quick regex question

2006-01-24 Thread John Doe
Chris am Dienstag, 24. Januar 2006 22.35: > Hi list, > > I am not sure if there is a proper name for this but was having some > difficulty searching for it. > > Basically I have data in a file that is between two different > characters, for example: > > # data data > data > data data data * > # mor

Re: Quick regex question

2006-01-24 Thread Chas Owens
On 1/24/06, Chris <[EMAIL PROTECTED]> wrote: > Hi list, > > I am not sure if there is a proper name for this but was having some > difficulty searching for it. > > Basically I have data in a file that is between two different > characters, for example: > > # data data > data > data data data * > #

Re: rename file on ftp server

2006-01-24 Thread DBSMITH
Jay Savage <[EMAIL PROTECTED] l.com>

Quick regex question

2006-01-24 Thread Chris
Hi list, I am not sure if there is a proper name for this but was having some difficulty searching for it. Basically I have data in a file that is between two different characters, for example: # data data data data data data * # more dataaa mor * Basically I want to slurp that file in, the

Fwd: rename file on ftp server

2006-01-24 Thread Jay Savage
hit the wrong button; meant to send this to the list. -- Forwarded message -- From: Jay Savage <[EMAIL PROTECTED]> Date: Jan 24, 2006 4:24 PM Subject: Re: rename file on ftp server To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> On 1/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote

Xerces 2.5 installation problem on solaris 9

2006-01-24 Thread John Rose
[EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit We are having trouble successfully installing Xerces 2.5 on Solaris 9. We are installing 2.5 because the application we are using seems to indicate it in the install notes. 1) I am o

RE: rename file on ftp server

2006-01-24 Thread DBSMITH
"Ryan Frantz" <[EMAIL PROTECTED] med-llc.com>

RE: rename file on ftp server

2006-01-24 Thread Ryan Frantz
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 24, 2006 3:05 PM > To: beginners@perl.org > Subject: rename file on ftp server > > All, > > I have a task to complete for a user. He wants me to rename a file on a > remote server so that

rename file on ftp server

2006-01-24 Thread DBSMITH
All, I have a task to complete for a user. He wants me to rename a file on a remote server so that he can pick it up. I am trying to use a reg exp or a blog but this is not working. Any tricks of the perl trade will be mucho appreciated! The file format is OhioHealthyyymmdd[0-9].xml The [0-9] is

Re: negative match

2006-01-24 Thread Adriano Allora
Hi, I tried with qr{} (after readind the perlop manpage as tom suggested) and the pattern results in stdout as this: ^(?:(?-xism:ara\w+))[^A-Z]*((?-xism:[A-Z]+))[^A-Z]*(?!arabo) It's quite strange: the first and second element have got a pair of brackets more and I don't understand what -xism d

RE: File Parsing

2006-01-24 Thread Bakken, Luke
William Black wrote: > Hello, > > I'm reading from a file. I'm trying to read in five lines at a time > where each line has a newline and then process the lines into > separare variables. For example, > > Input File > - > Stevens, > Craig A Triangle Family Care PA > 106-A Ridgeview D

Re: file test

2006-01-24 Thread Adriano Rodrigues Ferreira
The operator -e (like the other -X operators) takes a filename or file handle, and not a glob or file name pattern with wildcards. As others pointed, you use the builtin glob to do the expansion (either explicitly or via <>). Then you might say: for (glob 'file*') { print "true\n" if -e $_;

Re: file test

2006-01-24 Thread Adriano Rodrigues Ferreira
The operator -e (like the other -X operators) takes a filename or file handle, and not a glob or file name pattern with wildcards. As others pointed, you use the builtin glob to do the expansion (either explicitly or via <>). Then you might say: for (glob 'file*') { print "true\n" if -e $_;

Re: count in continuous time piece

2006-01-24 Thread Chas Owens
On 1/24/06, Jeff Pang <[EMAIL PROTECTED]> wrote: > hi,lists, > I want to do this work: count something in continuous given time piece,such > as 10 > minutes.Fox example,there are the lines coming to the socket server as > following: > > 1_feifish1_01_1000ybyg:11530514:get > 1_swm_mail_01_100k8qte

count in continuous time piece

2006-01-24 Thread Jeff Pang
hi,lists, I want to do this work: count something in continuous given time piece,such as 10 minutes.Fox example,there are the lines coming to the socket server as following: 1_feifish1_01_1000ybyg:11530514:get 1_swm_mail_01_100k8qte:13901448:get 1_dajia###_01_1006x8jh:11652267:put ... each line

Re: file test

2006-01-24 Thread Bob Showalter
hien wrote: dear all, i am trying to check if there are any files named file* (e.g. file_001.txt file1.doc) in my directory. if( -e "file*" ) { print("true\n"); } # this doesn't work else { print("false\n"); } if( -e "m/^file/" ) { print("true\n"); } # this doesn't work either else { print(

Re: file test

2006-01-24 Thread Gerard Robin
On Mon, Jan 23, 2006 at 09:47:40PM +0100, hien wrote: > i am trying to check if there are any files named file* (e.g. > file_001.txt file1.doc) in my directory. #!/usr/bin/perl use warnings; use strict; my $i = 0; while () { if (-e $_) { print "$_ exists\n"; $i++; } } print "there are $i f