Re: rearrange text

2003-08-25 Thread David Wall
--On Monday, August 25, 2003 6:50 PM -0400 Mike Robeson <[EMAIL PROTECTED]> wrote: OK, I feel like an idiot. When I initially asked for help with this I just realized that I forgot two little details. I was supposed to add the number of sequences as well as the length of the sequences at the to

Re: Perl Codes Written in Windows Env

2003-08-25 Thread Bob Showalter
Hanson, Rob wrote: > ... Unix uses the sh'bang to determine > where the Perl binary is, and Unix (not Perl) can't understand the > carriage-return character. A minor nit: UNIX "understands" the CR character perfectly; it simply treats it as part of the file name, since it's a legal character.

Form Paragraph

2003-08-25 Thread Whippo, Ryan K
I have a form paragraph that once it has more than 1975 characters in it, the submit button on the form will not work. Any ideas? Thank you in advance, Ryan Whippo -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl 5.6 Installation for Windows 2003 Server

2003-08-25 Thread zsdc
Smith Jeff D wrote: I've been looking for help on installing Perl 5.6 for Windows 2003. I downloaded Activestate's MSI executable but it gets hung up on the "Wrong OS" since Acitvestate provides a Windows 2000 but not a 2003 version. Has anyone else had this issue and worked around the st

Re: rearrange text

2003-08-25 Thread Mike Robeson
OK, I feel like an idiot. When I initially asked for help with this I just realized that I forgot two little details. I was supposed to add the number of sequences as well as the length of the sequences at the top of the output file. That is this file: >dog agatagatcgcatcga >cat acgcttcgatacg

Re: Software Design - Software Management - Project Management

2003-08-25 Thread Paul Johnson
On Mon, Aug 25, 2003 at 06:08:05PM -0400, Paul Kraus wrote: > Why do you guys do when designing a software? Do your write out pseudo > code and then flow chart it? I thought Perl was just executable pseudo code. And flow charts? I haven't seen one of those for twenty years :-) > What do you do

Software Design - Software Management - Project Management

2003-08-25 Thread Paul Kraus
Why do you guys do when designing a software? Do your write out pseudo code and then flow chart it? What do you do to keep track of notes and ideas and project information. I am literally swamped with projects ranging from perl to BASIC to tbred script development and I am getting messed up keepin

Re: FILEHANDLE to print to nothing

2003-08-25 Thread Chuck Fox
There is always /dev/null if you really want it to go to the big bit bucket in the sky. Chuck [EMAIL PROTECTED] wrote: Sure, just use this without an open or close statement... print VOID 'test'; I'm not exactly sure how Perl handles this, but since there is no filehandle called VOID is just

RE: FILEHANDLE to print to nothing

2003-08-25 Thread Dan Muey
> Sure, just use this without an open or close statement... > > print VOID 'test'; > Cool, great for the test! > I'm not exactly sure how Perl handles this, but since there > is no filehandle called VOID is just goes away. > Struct is ok with that but warnings is not. > I wouldn't leave t

Re: pronunciation guide

2003-08-25 Thread Paul Archer
8:58am, Randal L. Schwartz wrote: > > "Arthaey" == Arthaey Angosii <[EMAIL PROTECTED]> writes: > > Arthaey> I have heard <=> as "spaceship" and <> as the "diamond" operator. > > Larry's daughter Heidi came up with "diamond". And I'm the culprit > responsible for "spaceship". > > -- And we (I,

RE: pronunciation guide

2003-08-25 Thread Paul Archer
4:53pm, Paul Johnson wrote: > Paul Kraus said: > > > Wow. I find that unusual in my 10 years of computer use/programming ... > > I have always referred to $ and heard it referred to as "string". > > > > Not that it matters but I find that definitely unusual :) > > Do you have a background in BASIC

RE: FILEHANDLE to print to nothing

2003-08-25 Thread Hanson, Rob
Sure, just use this without an open or close statement... print VOID 'test'; I'm not exactly sure how Perl handles this, but since there is no filehandle called VOID is just goes away. I wouldn't leave this in there when it goes into production, but it shouldn't cause any problems during testing

FILEHANDLE to print to nothing

2003-08-25 Thread Dan Muey
Howdy, I am benchmarking some stuff that does multiple print staements. What I'd like to do is print to a file handel so ethat the stuff I'm printing doesn't go to the screen. Ie instead of print "stuff"; print BITBUCKET "stuff"; That way the output of the benchmark test won't be screwy on the

Re: Perl Codes Written in Windows Env

2003-08-25 Thread Chuck Fox
The big problem is line endings. On WinBlows you need carriage return and line feed (ascii 13 and 10, respectively). However on (*nix) lines are terminated by line feed. By transferring in binary mode, you will see ^M at the end of line (remember ascii 13 ?). This alone should not cause any

Perl Codes Written in Windows Env

2003-08-25 Thread mmbodji
I have a perl script that I developped in a windows machine and it had to be transfered by ftp to a UNIX server. The codes worked fine when I tested them on my windows machine. Is it true that the data could get corrupted while being ftp'ed from Windows to Unix. I was told by the Unix people tha

RE: Perl Codes Written in Windows Env

2003-08-25 Thread Hanson, Rob
> If you ftp them in binary mode instead of > ascii mode yes that will screw it up. I wanted to elaborate on this since this is a common issue for the unknowing. When you tell FTP to use "binary" mode it doesn't modify the file, it just copies it byte by byte. If you tell it to use "ascii" mode,

RE: Get pop3 message with Message-Id

2003-08-25 Thread wiggins
On Mon, 25 Aug 2003 15:02:08 -0500, "Dan Muey" <[EMAIL PROTECTED]> wrote: > > > > Say for instance you have a pop3 account with 1000 messages > > in it. You > > > have a list of 10 Message-Id's from the header of ten of those > > > messages. >

RE: Perl Codes Written in Windows Env

2003-08-25 Thread Dan Muey
> I have a perl script that I developped in a windows machine > and it had to be > transfered by ftp to a UNIX server. The codes worked fine > when I tested them on > my windows machine. Is it true that the data could get > corrupted while being > ftp'ed from Windows to Unix. I was told by th

Perl Codes Written in Windows Env

2003-08-25 Thread mmbodji
I have a perl script that I developped in a windows machine and it had to be transfered by ftp to a UNIX server. The codes worked fine when I tested them on my windows machine. Is it true that the data could get corrupted while being ftp'ed from Windows to Unix. I was told by the Unix people tha

Re: pronunciation guide

2003-08-25 Thread Daniela Silva - Absoluta.net
Here I listen $_ is mother's heart, because only mother's heart accept anything. ;) But $ for me is a monetary value of any kind, not dolar specifically. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "'Paul Archer'" <[EMAIL PROTECTED]>

linking (shortcuts in windows) using perl

2003-08-25 Thread thyagarajan k
Hi, I am looking for a solution to create links (similar to shortcuts in windows) of dirs present in D: drive to E: drive or something else. How do i achieve this using perl? please provide me some assistance as i am a beginner with perl. rgds thyag __ Do you Ya

RE: Get pop3 message with Message-Id

2003-08-25 Thread Dan Muey
> > Say for instance you have a pop3 account with 1000 messages > in it. You > > have a list of 10 Message-Id's from the header of ten of those > > messages. > > > > You could log in, grab the header foreach message and if it has a > > Message-Id that matches then do what you will with it. Lo

RE: pronunciation guide

2003-08-25 Thread Peter_Farrar
I thought it was only called 'string' in Applesoft... Glad to hear I'm not the only one. My co-workers think I'm crazy. |-+> | | "Paul Kraus" | | | <[EMAIL PROTECTED]| | | .com>| |

any file system in database with gnu gpl license ?

2003-08-25 Thread german aracil boned
Yes .. I build a file system with firebird, perl and others. It's a free open source project. For more information visit the web project at http://sourceforge.net/projects/tlsystem I'm waiting yours comments. best regards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

RE: Perl 5.6 Installation for Windows 2003 Server

2003-08-25 Thread Robert J Taylor
Did AS release a different version for XP? If so, try that... -Original Message- From: Smith Jeff D [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 9:09 AM To: [EMAIL PROTECTED] Subject: Perl 5.6 Installation for Windows 2003 Server I've been looking for help on installin

Re: Process Timestamp?

2003-08-25 Thread zsdc
Jones, Jeremy wrote: I'm looking for a way to check a Processes age (how long it's been running). Is there a way to do this without installing extra modules? I know ps-ef does it, I was hoping for elegance over the hammer & chisel... Without installing extra modules you have to parse ps output or

RE: Get pop3 message with Message-Id

2003-08-25 Thread wiggins
On Mon, 25 Aug 2003 13:15:26 -0500, "Dan Muey" <[EMAIL PROTECTED]> wrote: > Howdy group! > > Anyone familiar with logging into Pop3 mailbox with Perl know any ways yo grab a > message via it's Message-Id header? > > Say for instance you have a p

Re: Perl & XS

2003-08-25 Thread Chuck Fox
Ok, Found the issue, it appears the Sybase renamed a lib on Linux from libtcl ( which conflicts with a system library ) to libsybtcl. Once I linked with the right libraries everything seems ok. There is still one issue and that is that I still have to use LD_PRELOAD to get the libraries into

Get pop3 message with Message-Id

2003-08-25 Thread Dan Muey
Howdy group! Anyone familiar with logging into Pop3 mailbox with Perl know any ways yo grab a message via it's Message-Id header? Say for instance you have a pop3 account with 1000 messages in it. You have a list of 10 Message-Id's from the header of ten of those messages. You could log in, gra

Perl 5.8 Install on OS X

2003-08-25 Thread Peter Fleck
Help. Today I went to CPAN to download and install the SOAP::Lite module using the command perl -MCPAN -e 'install SOAP::Lite' The module did seem to install but in the process, it seemed that CPAN decided to also install perl v5.8 for me without asking me to confirm. I have perl, v5.6.0 an

August Bank Holiday Weekend

2003-08-25 Thread Rob Dixon
All: For the majority of this group who are non-British, this is just a reminder that most of Britain will not be working today ( 25-Aug-2003 ) or for the rest of the week. How this applies to the rest of Europe I don't know. Perhaps others who are not working today can help ;-) /R -- To uns

Perl 5.6 Installation for Windows 2003 Server

2003-08-25 Thread Smith Jeff D
I've been looking for help on installing Perl 5.6 for Windows 2003. I downloaded Activestate's MSI executable but it gets hung up on the "Wrong OS" since Acitvestate provides a Windows 2000 but not a 2003 version. Has anyone else had this issue and worked around the standard installation f

RE: multiple regex in if() staetment

2003-08-25 Thread Dan Muey
> On Tue, Aug 19, 2003 at 05:54:42PM -0500, Dan Muey wrote: > > Howdy all: > > > > I'm trying to figure out the best way to test a string > agains a list > > of regexs like so: > > > > my @regex = qw(qr(joe$) qr(^mama) qr([abc])); > > As was pointed out already, don't use the qw(). > > Here

Re: pronunciation guide

2003-08-25 Thread Randal L. Schwartz
> "Arthaey" == Arthaey Angosii <[EMAIL PROTECTED]> writes: Arthaey> I have heard <=> as "spaceship" and <> as the "diamond" operator. Larry's daughter Heidi came up with "diamond". And I'm the culprit responsible for "spaceship". -- Randal L. Schwartz - Stonehenge Consulting Services, Inc.

RE: fork & wait

2003-08-25 Thread Bob Showalter
T.S.Ravi Shankar wrote: > Dear all : > > I see these lines in a perl program : > > $pif = fork; > if($pid == 0) { > exec("hpxy -s xxx.abc"); > }else{ > $pid1=wait; > } > > I could understand that the fork is needed here to get into the child > process "hpxy" !! What is the need for the "w

Re: pronunciation guide

2003-08-25 Thread Arthaey Angosii
>Does anyone know of a pronunciation guide for the special variables and such >in Perl? I came up empty on Google. I've been learning Perl by reading and >doing, but I haven't talked to anyone face-to-face, so I'm not sure, for >example, if $_ is spoken "dollar-underscore", or if people typically s

fork & wait

2003-08-25 Thread T.S.Ravi Shankar
Dear all : I see these lines in a perl program : $pif = fork; if($pid == 0) { exec("hpxy -s xxx.abc"); }else{ $pid1=wait; } I could understand that the fork is needed here to get into the child process "hpxy" !! What is the need for the "wait" here ?? When will the "else" loop be entered

RE: pronunciation guide

2003-08-25 Thread Paul Kraus
Yep. One of our remaining distribution packages is still using business basic. Sums it up :) Paul -Original Message- From: Paul Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 10:54 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: pronunciati

RE: pronunciation guide

2003-08-25 Thread Paul Johnson
Paul Kraus said: > Wow. I find that unusual in my 10 years of computer use/programming ... > I have always referred to $ and heard it referred to as "string". > > Not that it matters but I find that definitely unusual :) Do you have a background in BASIC? I think that in the UK at least it is (w

RE: pronunciation guide

2003-08-25 Thread Jenda Krynicky
From: [EMAIL PROTECTED] (Peter Scott) > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Paul Kraus) writes: > >Not sure how to help you I do not that it is not very common to refer > >to $ as dollar unless your talking about dollars. Generally when > >dealing with computers it is a representa

Re: pronunciation guide

2003-08-25 Thread George Schlossnagle
On Monday, August 25, 2003, at 10:28 AM, Paul Kraus wrote: Wow. I find that unusual in my 10 years of computer use/programming ... I have always referred to $ and heard it referred to as "string". Not that it matters but I find that definitely unusual :) I've been to a number of conferences as we

RE: pronunciation guide

2003-08-25 Thread Paul Kraus
Wow. I find that unusual in my 10 years of computer use/programming ... I have always referred to $ and heard it referred to as "string". Not that it matters but I find that definitely unusual :) Paul -Original Message- From: Peter Scott [mailto:[EMAIL PROTECTED] Sent: Monday, August 2

RE: pronunciation guide

2003-08-25 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Paul Kraus) writes: >Not sure how to help you I do not that it is not very common to refer to >$ as dollar unless your talking about dollars. Generally when dealing >with computers it is a representation of the word string and is spoken >as such.

RE: Parse a big HTML text

2003-08-25 Thread Dan Muey
> From: Pablo Fischer <[EMAIL PROTECTED]> > > I have in $myvar a BIG HTML Text. I need to change some values to > > others. > > > > For example, in one part I have > > > > Come and discover the OpenSource ###1### > > > > I need to change all the ###1### values for $name, so It will be: > > >

RE: pronunciation guide

2003-08-25 Thread Paul Kraus
Not sure how to help you I do not that it is not very common to refer to $ as dollar unless your talking about dollars. Generally when dealing with computers it is a representation of the word string and is spoken as such. String-underscore. -Original Message- From: Paul Archer [mailto:[E

pronunciation guide

2003-08-25 Thread Paul Archer
Does anyone know of a pronunciation guide for the special variables and such in Perl? I came up empty on Google. I've been learning Perl by reading and doing, but I haven't talked to anyone face-to-face, so I'm not sure, for example, if $_ is spoken "dollar-underscore", or if people typically say s

Re: Parse a big HTML text

2003-08-25 Thread Jenda Krynicky
From: Pablo Fischer <[EMAIL PROTECTED]> > I have in $myvar a BIG HTML Text. I need to change some values to > others. > > For example, in one part I have > > Come and discover the OpenSource ###1### > > I need to change all the ###1### values for $name, so It will be: > > Come and discover the

Process Timestamp?

2003-08-25 Thread Jones, Jeremy
Hello World! I'm looking for a way to check a Processes age (how long it's been running). Is there a way to do this without installing extra modules? I know ps-ef does it, I was hoping for elegance over the hammer & chisel... (Perl 5.6 is installed) Thanks! Jeremy F. Jones -- To unsubscribe,

Re: How to download a .pdf file from a website

2003-08-25 Thread Rob Dixon
John W. Krahn wrote: > > Perlwannabe wrote: > > > > There is a .pdf file on a website that I would like to download on a daily > > basis. The site puts up a new .pdf file everyday and I would like to > > write a simple script to download the file to my computer. > > > > The URL basically adds the

Re: file updation

2003-08-25 Thread Jenda Krynicky
From: "mark sony" <[EMAIL PROTECTED]> > I have one file (say about 6000 lines) data divided into four > columns,say filename,owner,version etc.Now there would be two more > columns which shall be updated by multiple users according to the need > .Whats the best possible way of going forward? Ther

Re: Reading writing to INI files

2003-08-25 Thread Jenda Krynicky
From: Saadat Saeed <[EMAIL PROTECTED]> > Are there any modules available that can read/write to > INI files. I think that apart from XML and templates there is no other task for that you'd get more modules thant reading and writing INI files. Config::IniFiles Config::IniHash Config::Tiny AnyData

Re: Re: file updation

2003-08-25 Thread mark sony
Hi Thanx for the reply but now I cant use database for this program . I have to do with modifying files in some way or the other . Please give me some other pointers . Thanx Mark On Mon, 25 Aug 2003 zsdc wrote : mark sony wrote: I have one file (say about 6000 lines) data divided into four col

file updation

2003-08-25 Thread mark sony
Hi All I need some guidance on the following :- I have one file (say about 6000 lines) data divided into four columns,say filename,owner,version etc.Now there would be two more columns which shall be updated by multiple users according to the need .Whats the best possible way of going forward?

Re: Temp variable

2003-08-25 Thread zsdc
John W. Krahn wrote: my ( $x, $y ) = ( "two", "three" ); print "\$x = $x \$y = $y"; $x ^= $y; $y ^= $x; $x ^= $y; print "\$x = $x \$y = $y"; Cool. I wouldn't have thought such a xoring would work on strings with different length. Well, maybe I would, but I certainly haven't. Very cool, indee

Re: update perl

2003-08-25 Thread zsdc
Bulba007 wrote: I run CPAN. How upgrade all installed modules in my system? From the CPAN module docs: # install everything that is outdated on my disk: perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)' See: man CPAN -zsdc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: How to download a .pdf file from a website

2003-08-25 Thread John W. Krahn
Perlwannabe wrote: > > There is a .pdf file on a website that I would like to download on a daily > basis. The site puts up a new .pdf file everyday and I would like to > write a simple script to download the file to my computer. > > The URL basically adds the name of the file with the date, i.e

How to download a .pdf file from a website

2003-08-25 Thread perlwannabe
There is a .pdf file on a website that I would like to download on a daily basis. The site puts up a new .pdf file everyday and I would like to write a simple script to download the file to my computer. The URL basically adds the name of the file with the date, i.e. http://www.samplesite.com/fil

Re: rearrange text

2003-08-25 Thread John W. Krahn
Mike Robeson wrote: > > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John W. Krahn) > wrote: > > > Mike Robeson wrote: > > > > > > I do not know what happend but the text didn't get formatted correctly > > > on the list. But this is how the out put should really have been: > > > > > > a g a

Re: rearrange text

2003-08-25 Thread Mike Robeson
John, Thanks for the help!! I new it had to be simple... but I just didn't see it! I just need to add some more code to it but I think I can take it from here. Thanks again! -Mike In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John W. Krahn) wrote: > Mike Robeson wrote: > > > > In art

Re: [solved again] Parse a big HTML text

2003-08-25 Thread zsdc
Pablo Fischer wrote: I cant believe it.. Every message that I send I get an obvious answer by my self. Thanks and sorry There's no reason to be sorry. People reading your answers to your questions can only learn, so in my opinion it's actually much better to ask and then publicly answer your o

Re: update perl

2003-08-25 Thread Wiggins d'Anconia
Bulba007 wrote: I run CPAN. How upgrade all installed modules in my system? There are a couple of examples of how to do this programmatically in the documentation for the CPAN module itself. perldoc CPAN http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [solved again] Parse a big HTML text

2003-08-25 Thread Pablo Fischer
I cant believe it.. Every message that I send I get an obvious answer by my self. Thanks and sorry I need to $var =~ s/$s1/$s2/g The cheat its in the 'g'. Thanks! El día Sunday 24 August 2003 7:44 a Pablo Fischer mandó el siguiente correo: > Hi! > > I have in $myvar a BIG HTML Text. I need to

Parse a big HTML text

2003-08-25 Thread Pablo Fischer
Hi! I have in $myvar a BIG HTML Text. I need to change some values to others. For example, in one part I have Come and discover the OpenSource ###1### I need to change all the ###1### values for $name, so It will be: Come and discover the OpenSource pablo if the content of $name its "pablo".

Re: rearrange text

2003-08-25 Thread John W. Krahn
Mike Robeson wrote: > > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (John W. Krahn) > wrote: > > > > According to your data this should work: > > > > #!/usr/bin/perl > > use warnings; > > use strict; > > > > my $len = 30; # pad out to this length > > while ( ) { > > unless ( s/^\s*>//

Re: rearrange text

2003-08-25 Thread zsdc
Mike Robeson wrote: I do not know what happend but the text didn't get formatted correctly on the list. But this is how the out put should really have been: a g a t a g a t c g c a t c g a - - - - - -dog a c g c t t c g a t a c g c t a g c t t a -cat a g a t a t a c g g g t t - - - - - -