wow 3 minutes to get it working... nice ... From: delphipgmr To: perl-beginner@yahoogroups.com Sent: Wednesday, August 06, 2003 1:50 PM Subject: Re: [PBML]...
16098
CARTER Anthony
karem_lore
Aug 7, 2003 10:59 am
I don't think it is simple but you could look at this: http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=390 ...
16099
CARTER Anthony
karem_lore
Aug 7, 2003 11:02 am
That link didn't work properly...strange. Try and try again: <http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=390&lngWId= 6> ...
16100
William Chan
w1312
Aug 7, 2003 12:12 pm
please help... I have a text file, say file.txt it contains a simple list of names and email: John Smith JSmith@... Stacy loo stace@... ...
16101
Damien Carbery
daymobrew
Aug 7, 2003 12:36 pm
... Sounds very like a homework assignment. Try write some code and post the code and the problems to this group and you will probably get assistance. No one...
16102
Lee Hempfling
iggitcom
Aug 7, 2003 1:03 pm
... my I.T. team for inclusion on the work intranet.. ... presses 'submit39; - It should re-display the form (including the $search value) and process the result...
16103
Gordon Stewart
gordonisnz
Aug 7, 2003 1:23 pm
... Thanks - Should there also be a closing bracket ? )~; ?? I'll update the script - thanks. (Wish tutorials will show the propper format to use..) G ...
16104
William Chan
w1312
Aug 7, 2003 1:39 pm
... <wchan1312@y...> ... write ... for you. ... This is the code that I've tried: $file="file.txt"; open FILE, $file or die "cannt open $stuff for read:$!"; ...
16105
Jean-Sebastien Guay
Jean_Seb
Aug 7, 2003 1:46 pm
... Nope - the quote-like operators (like qq) can use many different characters as delimiters, as long as the beginning one matches the ending one. The...
16106
William Chan
w1312
Aug 7, 2003 2:22 pm
... group ... You ... I have now tried changing the code to: $file="userinfotemp.txt"; open FILE, $file or die "cannt open $stuff for read:$!"; while(<FILE>){ ...
16107
Dmitriy Lyalyuev AKA ...
silverghost80
Aug 7, 2003 2:24 pm
Ave, perl-beginner@yahoogroups.com, morituri te salutant! WC> How do I sort this file alphabetically by the first namnes and write WC> into a different file,...
16108
William Chan
w1312
Aug 7, 2003 2:37 pm
... write ... How does it work? Its not a standard command is it?...
16109
Dmitriy Lyalyuev AKA ...
silverghost80
Aug 7, 2003 2:40 pm
Ave, perl-beginner@yahoogroups.com, morituri te salutant! WC> How does it work? Its not a standard command is it? No... It's package... -- 07.08.2003, 17:39 ...
16110
GARCIA Lionel
lmgkc.rm
Aug 7, 2003 2:40 pm
RTFM ? ... De: William Chan [mailto:wchan1312@...] Date: jeudi 7 août 2003 16:37 À: perl-beginner@yahoogroups.com Objet: Re: [PBML] sort ... write ...
16111
Dmitriy Lyalyuev AKA ...
silverghost80
Aug 7, 2003 2:41 pm
Ave, perl-beginner@yahoogroups.com, morituri te salutant! GL> RTFM ? May be... -- 07.08.2003, 17:41 Dmitriy Lyalyuev AKA Silver Ghost silver@......
16112
Jeff 'japhy' ...
evilffej
Aug 7, 2003 2:45 pm
... Thank you for showing us. ... You've got $stuff in your error message -- I think you mean $file. ... This is only storing ONE line of the file into $INFO....
16113
Damien Carbery
daymobrew
Aug 7, 2003 2:49 pm
... Error message lists $stuff instead of $file. ... $_ is a line from the input file. You are assigning this scalar to a list and ending up with a list with...
16114
ashok nalla
ashoknalla_gnu
Aug 7, 2003 3:01 pm
hello group, iam a fresher to perl.iam intrested to learn perl.my os is windows 98.i downloaded perl from www.perl.org. i installed it,but it is not coming...
16115
Damien Carbery
daymobrew
Aug 7, 2003 3:38 pm
... windows 98.i downloaded perl from www.perl.org. i installed it,but it is not coming into c://programmingfiles. ... windows98.can any one please let me...
16116
William Chan
w1312
Aug 7, 2003 3:42 pm
... <wchan1312@y...> ... and ... this ... problem ... to do ... this. ... it. ... separated. ... the ... to OUT. ... do ... Thanks Damien, the help is greatly...
16117
Damien Carbery
daymobrew
Aug 7, 2003 5:00 pm
... I don't have any simple ideas about retaining the tabs apart from something where you keep the unmodified line with the data e.g. you'd split out the first...
16118
Jenda Krynicky
jendaperl
Aug 7, 2003 5:00 pm
From: ashok nalla <ashoknalla_gnu@...> ... You've better install the precompiled Perl from http://www.activestate.com Jenda ===== Jenda@... ===...
16119
William Chan
w1312
Aug 7, 2003 5:05 pm
This is my code snippet: $file="userinfotemp.txt"; open FILE, $file or die "cannot open $file for read:$!"; my @names = <FILE>; close( FILE ); # Sort by first...
16120
Charles K. Clarkson
charlesclarkson
Aug 7, 2003 5:39 pm
... Use an index sort and avoid splitting the data: my @sorted_indexes = sort { lc $names[ $a ] cmp lc $names[ $b ] } 0 .. $#names; my $out = 'sorted.txt'; ...
16121
Charles K. Clarkson
charlesclarkson
Aug 7, 2003 6:00 pm
... [snip] Okay, That was overkill. Better to use Jeff's method (modified): open INPUT, "< $file" or die "can't read $file: $!"; open OUTPUT "> $out" or die...
16122
William Chan
w1312
Aug 7, 2003 9:04 pm
In perl is there a inverse grep such as the grep -v in shell?...
16123
Jeff 'japhy' ...
evilffej
Aug 7, 2003 9:54 pm
... There's the not (and !) operator. @inverse = grep !CONDITION, LIST; @inverse = grep { !CONDITION } LIST; -- Jeff "japhy" Pinyan japhy@......
16124
galdawn614
Aug 8, 2003 1:20 am
Have a banner exchange i bought and cant get it to work, Help please...
16125
Charles K. Clarkson
charlesclarkson
Aug 8, 2003 1:29 am
... The people you bought it from don't offer support? Charles K. Clarkson -- Head Bottle Washer, Clarkson Energy Homes, Inc. Mobile Home Specialists 254...
16126
Nathan E
nathaneinwec...
Aug 8, 2003 4:30 am
Hello, this is my first post on here. The main thing is that I'm not sure how to pull a file into my perl program, then split it up into an array or some other...