Hi, I would realy be grateful if you could send me a copy of your Perl script for processing data on web pages! I am learning Perl and would like to see an...
106
Greg Flowers
gregoryf@...
Nov 2, 1999 5:13 pm
This is a sample web form with links that display the perl source code. http://www.eng.auburn.edu/~gregoryf/projects/eop/form.html -- Greg Flowers Engineering...
107
Frank Hale
frankhale@...
Nov 7, 1999 1:28 am
How can I get a directory listing in Perl and then put the file names in an array? __________________________________________________ Do You Yahoo!? Bid and...
108
Jeff Boes
jboes@...
Nov 7, 1999 2:16 am
... Easy-- opendir(DIR, $dirname) or die "Can't open $dirname: $!"; while (defined($file = readdir(DIR))) { push @filelist, $file; } closedir(DIR); Taken...
109
Frank Hale
frankhale@...
Nov 7, 1999 2:23 am
... God I feel stupid I have this book. Thanks for the solution. __________________________________________________ Do You Yahoo!? Bid and sell for free at...
110
Frank Hale
frankhale@...
Nov 7, 1999 3:10 am
I want to execute a program from my CGI script but the webserver (Apache) will not execute the program. Okay this is what I am doing. I have a small script ...
111
Frank Hale
frankhale@...
Nov 7, 1999 3:32 am
After analysis of the logs I found out that it is executing my program but is terminating it too quickly. I need to fork the process and have it continue to...
112
Frank Hale
frankhale@...
Nov 12, 1999 3:03 pm
Okay I have 2 lists, one which stores URL's and another which stores the description of the URL's. I want to build up HTML code for these links but if I use...
113
Ahrendt, Robert
RAHRENDT@...
Nov 12, 1999 3:36 pm
#!/usr/bin/perl #@desc has already been loaded with you description #@link already has links for ($i=0;$i<$#desc;$i++){ print "<a...
114
Frank Hale
frankhale@...
Nov 12, 1999 5:32 pm
I have a script which strips the CRLF from Windows text files. This makes them look correct when viewing on Unix systems. The script only handles one file at a...
115
Silvia Albuquerque - ...
silviaza@...
Nov 12, 1999 6:21 pm
I am trying to test a Perl script at an environment with Active Perl and IIS (Option Pack 4.0). The syntax of the script is OK (I tested at the command line...
116
Dan Boger
dan@...
Nov 12, 1999 7:30 pm
you could just do the following: Replace : if ($ARGV[0]) { $commandlineparms = $ARGV[0]; &stripcr($commandlineparms); } ........ With: while...
117
Frank Hale
frankhale@...
Nov 12, 1999 11:24 pm
Anyone use Perl/Tk? If so do you know of a good tutorial to learn from? Thanks __________________________________________________ Do You Yahoo!? Bid and sell...
118
Frank Hale
frankhale@...
Nov 12, 1999 11:55 pm
... Well thank you for helping but your solution didn't work as expected. Here is the solution I've come up with now: #!/usr/bin/perl # # Strips those nasty...
119
silviaza@...
Nov 13, 1999 12:48 am
I have created a perl script to read and query a text file. It is very simple, but it do not work because it can not find the file! I have already put the file...
120
Frank Hale
frankhale@...
Nov 13, 1999 1:09 am
... Thank you it works fine. I think if I would have applied myself a little more I could have come up with this. Its just I've been working on some code for a...
121
silviaza@...
Nov 13, 1999 1:28 am
I have installed the Microsoft IIS (Option Pack 4.0) and Active Perl in order to test the scripts with our site. When I upload the HTML pages and the Perl...
122
Nikita Fleurie
nikita@...
Nov 13, 1999 2:10 am
There's an O'Reilly book on the subject. ... From: Frank Hale <frankhale@...> To: tcg@... <tcg@...>; perl-beginner@egroups.com ...
123
Frank Hale
frankhale@...
Nov 13, 1999 2:15 am
Anyone know how to give a main window a title using Perl/Tk? __________________________________________________ Do You Yahoo!? Bid and sell for free at...
124
Frank Hale
frankhale@...
Nov 13, 1999 2:18 am
... What is the if(-e "/cand2.txt") { ??? Is that valid? I mean the -e part. Seems to me your problem is there. The condition is false so it tells you it can't...
125
David E Newman
denewman@...
Nov 13, 1999 3:44 am
Frank, This is a clasic case for a hash. You may want to consider the URL as the key and the description as the value. One thing to note is the order may not...
126
Ahrendt, Robert
RAHRENDT@...
Nov 13, 1999 8:10 am
did you remeber the content line: print "Content -type: text/html\n\n";...
127
Frank Hale
frankhale@...
Nov 13, 1999 8:42 am
Okay this is what I want to do. I have a configuration file: - test_config.pl for global variables - #!/usr/bin/perl -w use strict; require "test.pl"; my $test...
128
Jeff Boes
jeffboes@...
Nov 13, 1999 6:14 pm
... Ugh, that is certainly not what you want. If the lists are pre-loaded AND have the exact same number of elements, then try this: print join('<br>', ...
129
Jeff Boes
jeffboes@...
Nov 13, 1999 6:14 pm
... Sure. See below. ... Now that you have the '*.txt' parameter, you just loop over it: while (glob($commandlineparams)) { &stripcr($_); } For more details,...
130
crengifo@...
Nov 14, 1999 4:37 am
Hello silviaza! ... #!/Perl/bin/perl # filename: archi.pl # open cand.txt file and print it # Perl: 5.005_3 built for MSWin32-x86-object (519) # OS: Windows...
131
crengifo@...
Nov 14, 1999 3:48 pm
I´m sorry, but my files archi.pl and archi2.pl have an error. Please, write those lines again: archi.pl and archi2.pl: It says: close(LEITURA) || die "cannot...
132
crengifo@...
Nov 14, 1999 3:48 pm
The "best tutorial" about perl/tk is into the "Tk.zip" file (2.354.286 Kbytes) for windows32. You can obtain it in ActiveState: ...
133
Frank Hale
frankhale@...
Nov 14, 1999 4:00 pm
... I use Linux so Tk.zip for Win32 probably wouldn't do me much good. __________________________________________________ Do You Yahoo!? Bid and sell for free...
134
Michael Hales
mhales@...
Nov 15, 1999 2:15 pm
Frank, How do I get off this listserve? It's way over my head. Thanks. ... From: Frank Hale [mailto:frankhale@...] Sent: Friday, November 12, 1999...