Skip to search.
perl-beginner · Perl Beginners Mailing List

Group Information

  • Members: 2100
  • Category: Perl
  • Founded: Aug 2, 1998
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
Messages 2116 - 2147 of 27344   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2116 ponnambalam.ma@... Send Email Mar 1, 2001
8:43 am
DEAR FRIENDS, PLEASE HELP ME REGARDING THE REGULAR EXPRESSION IN SPLIT FUNCTION data is : CDM210909 or FDM210909 ( ie start with 3characters followed any no...
2117 RTCamm@... Send Email Mar 1, 2001
9:06 am
In answer to Hien Pham problem with the following: #manipulating strings $street_address = "345 8th Ave"; $city = "Las Vegas"; $state = "Nevada"; $zip_code =...
2118 Teifke Sascha ZFF FW-EI
Sascha.Teifke@... Send Email
Mar 1, 2001
10:42 am
<snip> ... </snip> Another Idea: You define the scalar $zip_code and you wrote $full_address = $street_address.$city.$state.$zipcode w/o the "_" So $zipcode is...
2119 Hien Pham
compilehr@... Send Email
Mar 1, 2001
2:18 pm
No wonder I didn't get the zip code printed. Thanks :-) ... between. ... http://docs.yahoo.com/info/terms/...
2120 Charles K. Clarkson
c_clarkson@... Send Email
Mar 1, 2001
3:14 pm
From: <ponnambalam.ma@...> ... into ... remaining ... While I'm sure you could get it to work with split, m// works fine: @res = $data =~...
2121 Denny Malloy
denny.malloy@... Send Email
Mar 1, 2001
3:45 pm
Hi, Is there an easy way to sort a file by a field in that file using PERL? I have an ASCII comma delimited file with name, address and social security number....
2122 Barazani
bara_zani@... Send Email
Mar 1, 2001
4:42 pm
Hi , I am having trouble with this script (see script below ....) . bascilly i want to get some vars from one file (DUMPS) and check if they exist on the...
2123 Damien Carbery
daymobrew@... Send Email
Mar 1, 2001
5:38 pm
I wonder could you use: Start PPM and type: set repository CPAN http://www.perl.com/CPAN set save I couldn't find the default repository in any of the Perl...
2124 Damien Carbery
daymobrew@... Send Email
Mar 1, 2001
5:55 pm
Are you familar with split() and hashes? You could read in each line and place it all in a hash. Once you've finished reading the file you can sort the hash by...
2125 Doug Wells
dougawells@... Send Email
Mar 1, 2001
5:58 pm
The repository path, and other config information is stored in a file called ppm.xml... ... __________________________________________________ Do You Yahoo!? ...
2126 Denny Malloy
denny.malloy@... Send Email
Mar 1, 2001
6:29 pm
Yes I am familar with arrays and hashes. I never thought about doing it that way. THANKS for your help. Denny Malloy ... From: Damien Carbery...
2127 Charles K. Clarkson
c_clarkson@... Send Email
Mar 1, 2001
7:25 pm
From: "Denny Malloy" <denny.malloy@...> ... security ... Assuming you want to write the file to a different file: my $in_file = 'in.txt'; my...
2128 Denny Malloy
denny.malloy@... Send Email
Mar 1, 2001
7:58 pm
Hi What you sent works but there is still one problem. My file can have more than one of the same social security number. When you use the hash it only keeps...
2131 Damien Carbery
daymobrew@... Send Email
Mar 1, 2001
8:27 pm
You can achieve this with my script by changing: $UnSorted{ $SSN } = $_; # Store whole line. to: # If SSN already found, append line to the hash value. if (...
2132 Gail Buffington
gbuffing@... Send Email
Mar 1, 2001
9:07 pm
I am running the following perl script: $ENV{'ORACLE_SID'}='cml1'; $ENV{'progsdir'}='/d01/app/oracle/xferweb'; ...
2133 Denny Malloy
denny.malloy@... Send Email
Mar 1, 2001
9:20 pm
Thanks Damien and Charles You both helped me out a lot!!!!!!!!!!!!!!!!!!!!! ... From: Damien Carbery [mailto:daymobrew@...] Sent: Thursday, March 01,...
2134 Mike D
mikedpan@... Send Email
Mar 1, 2001
9:23 pm
Hello, I have a log file of HTML code and I need to find a string and set a PERL variable equal to the value that follows the string. So the HTML code looks...
2135 Gorden-Ozgul, Patrici...
gorden@... Send Email
Mar 1, 2001
10:12 pm
If you have helped me recently, thank you. Each reply has helped me in some way. In any case, I need a quick/short solution. (like tonight if I can get it). ...
2136 dougawells@... Send Email Mar 1, 2001
11:23 pm
I think the problem that you are seeing is that when you run this system call from the URL, it is completing successfully. The system call that is, not...
2137 Damien Carbery
daymobrew@... Send Email
Mar 1, 2001
11:28 pm
How about (off the top of my head): s/<#FIELD NAME = (.*?)>(.*?)<\/#FIELD>/s/<#FIELD NAME = $1>$2<\/#FIELD $1>/; (should all be on one line). You may have to...
2138 Damien Carbery
daymobrew@... Send Email
Mar 1, 2001
11:37 pm
From a quick read of the docs on system(), it says that system() ... child processes. The status is returned in $?. One example in the docs demonstrates...
2139 Douglas Wade
dwade@... Send Email
Mar 2, 2001
12:36 am
I have looked at this long enough. Help! I just don't get it. I would like to do a conditional check to see if a <t=,2> exists between a <t+,1> and a <t=,3>....
2140 Chris Brown
chris.brown@... Send Email
Mar 2, 2001
12:51 am
i've only been using perl for a few days, so this may seem a simple question - well, good! that means one of you at least might be able to help... is there an...
2141 Damien Carbery
daymobrew@... Send Email
Mar 2, 2001
1:33 am
To change: 4000" to 4000 use chop(). It "chops off the last character of a string and returns the character chopped." To change: "1999 to 1999 use substr(...
2142 Charles K. Clarkson
c_clarkson@... Send Email
Mar 2, 2001
1:37 am
... From: "Kul" <aka.Kul@...> To: <perl-beginner@yahoogroups.com> Sent: Wednesday, February 28, 2001 11:30 PM Subject: Re: [PBML] Re: Learning PERL DAY 1 ...
2143 Smith, Sheldon
sheldon.smith@... Send Email
Mar 2, 2001
2:15 am
I would suggest 1. create a list @N containing all 50 field names my @N = qw( ADD_DT AVLIB CATNO CHOUT COPY ...); 2. When you hit a <REC> record, create a new...
2144 Charles K. Clarkson
c_clarkson@... Send Email
Mar 2, 2001
2:47 am
From: "Denny Malloy" <denny.malloy@...> ... Oh sure! NOW you tell me: my %raw_file; my $in_file = 'in.txt'; my $sorted_file = 'out.txt'; open (RAW,...
2145 Smith, Sheldon
sheldon.smith@... Send Email
Mar 2, 2001
3:41 am
\f "form feed" -- commonly used with output to printers. Ejects the current page. \a "bell" -- old hard-copy terminals and CRTs have a bell or beep that is ...
2146 Smith, Sheldon
sheldon.smith@... Send Email
Mar 2, 2001
3:41 am
Sure. You are reading the first item from the "@date" list, then working with the entire <FSTAB> file. When you get the second next item from the "@date" list,...
2147 Smith, Sheldon
sheldon.smith@... Send Email
Mar 2, 2001
3:41 am
See the "substr" function. $year = substr( $year, 1); $cost = substr($cost, 0, length($cost)-1); OR: Use the substitute operation. $year =~ s/^\"//; $cost =~...
Messages 2116 - 2147 of 27344   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help