On Tue, Mar 18, 2003 at 05:53:45PM -0600, Rob Benton wrote:
It looks odd to me b/c * and ? are both quantifiers...
* and ? alone are both quantifiers, but *? is a non-greedy *.
--
Michael
[EMAIL PROTECTED]
http://www.jedimike.net/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Thu, Mar 13, 2003 at 11:32:02AM +0100, [EMAIL PROTECTED] wrote:
Hello,
Hello,
which function could I use to transform characters such as '' into code for
HTML.
Any think like:
$string='ab';
Func($string) return ('agt;b')
The HTML::Entities module can do this for you:
On Tue, Mar 11, 2003 at 07:34:40PM -0500, Fred Sahakian wrote:
I may be wrong, but some browser have problems giving referers
properly causing your visitor not to be able use your CGI.
On a related note, referers can be set to anything the user-agent wants.
While browser bugs might be an issue,
On Fri, Feb 21, 2003 at 12:38:29AM +, Desmond Coughlan wrote:
OK ... no wants to answer me.
*shrug*
D.
It's often not a matter of people not wanting to answer you so much as
not being able to. I personally have no experience in the area of your
question. Answers on mailing lists are
On Sat, Feb 15, 2003 at 01:03:50PM -0800, brady jacksan wrote:
Hi
Hi,
I am writing a script that reads file from command line and places
each line from the files into an array, and prints out the total lines
read and then
each line read.
while (defined ($files = )) {
chomp;
On Tue, Feb 11, 2003 at 06:49:14PM +0200, Antonis Antoniou wrote:
Hi,
Hi!
I would like to download from http://www.somewhere.com/zip/file.zip
through a script. Is there any module that I can do this?
This will help me download the zip files automaticaly.
Many Thanks
Antonis
Check out
On Fri, Jan 31, 2003 at 03:51:04PM -0500, Jamie Risk wrote:
I'm looking around, and I see Quantum::Entanglement which looks like
overkill; I'd like to generate, 8/16/32 bit random numbers.
- Jamie
rand() seems like what you're looking for.
perldoc -f rand
--
Michael
[EMAIL PROTECTED]
Hi Mario,
On Sat, Feb 01, 2003 at 06:35:55AM +, mario kulka wrote:
Before I upload a file with a random name I would like to make sure that
another file with the same name doesn't already exist. Is there a way to
look for a specific $name file within a directory (on UNIX).
if( -e $file
On Mon, Jan 13, 2003 at 10:55:35PM +0600, LRMK wrote:
use the following sub to read post input
I got this from a book
if you only want the regxp its in this code
But why use this over CGI.pm? The wheel has already been invented, and
quite well I might add.
--
Michael
[EMAIL PROTECTED]
On Sat, Jan 11, 2003 at 09:41:37PM -0500, [EMAIL PROTECTED] wrote:
In a message dated 1/11/2003 8:55:37 PM Eastern Standard Time,
[EMAIL PROTECTED] writes:
When processing the form the date in this format 3/1/2003 is converted to
3%2F1%2F2003.
Can someone give me a regex to convert it
On Sat, Jan 11, 2003 at 02:00:58PM -0800, John W. Krahn wrote:
Rob Dixon wrote:
Michael Kelly [EMAIL PROTECTED] wrote
# print out all the captured numbers
map{ print $_\n; } @numbers;
Hi Michael.
May I warn against using 'map' in a void context like this? It'll work,
sure
On Fri, Jan 10, 2003 at 10:22:37PM -0500, David Nicely wrote:
Hello,
Hi David,
I am a total beginner, so any help or a pointer to an appropriate doc
will be appreciated.
I am trying to read a file, and find all the lines that look like;
Finding 111 where 111 could be any number with any
On Mon, Dec 23, 2002 at 10:35:59AM -0600, David Gilden wrote:
PERL 5.6
OSX, Jaguar
Goal, to check against two different passwords.
I think my problem is the or is short 'circuited'
is there a way for an IF statement to test for both
values, so that either $secret_word or
On Sun, Dec 22, 2002 at 09:38:44AM -0500, Michael Hooten wrote:
export PERL5LIB=/usr/local/lib/perl
I added this to .bash_profile. I then executed it with no change. I had
to relogin to see the changes. Is this the case?
The .bash_profile file is sourced when you log in, so unless you
On Sun, Dec 22, 2002 at 04:33:41PM -0500, Bob H wrote:
I can actually do that. : )
What I need to do is take the contents of the $file variable expand it
and then run some system() commands using it. The print only shows to
console. Can I do anything with that?
What do you mean, expand it?
On Wed, Dec 04, 2002 at 09:04:50PM -0600, perl wrote:
Hi Josh,
I'm trying to make a page redirect to a homepage if a user has logged in
before. I have everything running except the redirect command. Here's
what I have:
print redirect ( homepage.pl );
It gives me a message on the
On Thu, Nov 21, 2002 at 04:57:03PM -0200, [EMAIL PROTECTED] wrote:
Hi,
Hi,
How do i solve this
Say i have an variable $number witch has the integer value of 16.526899874
I wan to print it formatted like 16.52 (only 2 decimals)
How do i do this with the basic print $number; command?
Is
On Thu, Nov 21, 2002 at 07:56:51AM -0500, Sturdevant-Contractor, Robert W wrote:
Thanks, Jeff.
Yes, index ... with all the special names avail I thought there might be one
to identify the position of the element within an array.
Bob
I might be imagining this, but I thought I remembered
On Wed, Nov 20, 2002 at 02:02:05PM +, Nick Malden wrote:
Hi Nick,
When writing HTML, the trick I normally use to ensure that images etc are
definitely the latest version, and not the cached version, is the
following:
META http-equiv=Cache-Control content=no-cache, must-revalidate
META
On Fri, Nov 08, 2002 at 02:18:31PM -0800, Carol Nguyen wrote:
[snip]
html
head
meta http-equiv=refresh content=1;
url=http://www.mysite.com/index.html;
/head
/html
this should redirect to the new url.
Or just use HTTP headers to redirect (almost) instantly:
print Location:
On Tue, Oct 08, 2002 at 10:00:09AM -0700, Anil Shekhar wrote:
Thanks Mark.
I mean how is the following possible.
print ++($foo = 'Az'); # prints 'Ba'
print ++($foo = 'zz'); # prints 'aaa'
(I'm obviously not Mark, but I figure I'll give this a shot)
That's how the ++
On Sun, Oct 06, 2002 at 08:01:10AM -0500, Mike(mickako)Blezien wrote:
Hello,
there was a dicussion earlier on this list about a module that removes
folder and files similar to the `rm -rf` command line, but for the life of
can't remember which modules does this, with some thing like
On Thu, Oct 03, 2002 at 01:38:26PM +0800, [EMAIL PROTECTED] wrote:
Hello, All:
Every time I send a message to this list, I receive a message from
[EMAIL PROTECTED] immediately afterwards. It appears to be garbage
(lots of screwy characters...).
Where is this coming from? Am I the only
On Thu, Oct 03, 2002 at 04:23:19PM +0200, Jasper Wammes wrote:
Hi there,
Hi,
I am analizing a Squid proxy log file. The times is like this:
1033638320.833
Hoe can i convert that to a normal time?
Thanks for your time.
This should do it, to a certain extent:
my $number_time =
On Fri, Sep 27, 2002 at 08:29:53PM -0500, Grant Hansen wrote:
Can anyone provide an example of how to use a state variable to break out of a
loop?
Thanks
I smell homework.
But to be fair: what do you have so far? Why doesn't it do what you want?
If you showed us your code where you were
On Thu, Sep 26, 2002 at 09:38:18PM -0300, Bruno Negrao - Perl List wrote:
Hi,
Hi Bruno,
I'm triyng to open the /etc/aliases.db file for reading with the dbmopen
function - the result is that I can't open the file for reading, or
something like this. yes, I have permission because I'm root.
On Wed, Sep 18, 2002 at 05:49:48PM -0700, Timothy Johnson wrote:
You'll need to escape the period.
$_ =~ /\d+\.\d+/;
If you want it to match 1234 as well, that would be
$_ =~ /\d+(\.\d+)?/;
or
$_ =~ /^\d+(\.\d+)?$/;
if you don't want it to match ab1234c, etc.
--
Michael
--
To
On Wed, Sep 18, 2002 at 06:09:29PM +1000, Jimmy George wrote:
Hello again World
Hi Jimmy,
I am trying - half heartily right now - to get a DDMM or similar date
back from a users server to write to a file when they fill in an order
form. My first attempt of :-
!--#config timefmt=%d%b%y--
On Tue, Sep 17, 2002 at 08:00:06AM -0400, FlashGuy wrote:
Hi,
Hi FlashGuy,
I have a web interface where I'm executing a compiled perl script. Within the perl
script I'm trying to execute a DOS command but its not working properly.
If I put my command in a batch file and execute the batch
On 5/22/02 6:19 PM, Lance Prais [EMAIL PROTECTED] wrote:
HOW CAN I SEND MAIL USING PERL ON NT? DOES ANYONE KNOW OF EXAMPLES THAT
ARE OUT THERE ON THE WE?
YOU CAN USE THE Net::SMTP MODULE. IT WORKS QUITE WELL FOR THINGS LIKE THIS.
HERE IS A SNIPPET THAT MIGHT HELP. SEE THE DOCS ON THE
On 5/13/02 10:49 AM, fliptop [EMAIL PROTECTED] wrote:
i think what you're missing is there's no point in trying to justify
running any version of any of matt's code - use the drop in replacements
at sourceforge or take the (quite unnecessary) risk. it's as simple as
that.
Ok, I have a
On 5/11/02 7:56 PM, Bill Lyles [EMAIL PROTECTED] wrote:
Ok here is the mail script
Please note that the variables are taken from a form
This line is at the top
use Net::SMTP;
these are the variables
$adminmail = 'q^webmaster2\@adelphia.net^';
Assuming your email address is
On 5/11/02 9:05 PM, Troy May [EMAIL PROTECTED] wrote:
Hello,
I'm trying to figure out how to send emails through Sendmail with an email
list that could change at any given time. I'm trying it with a text file
now: (file is in this format: email, email, email, email)
On 5/11/02 9:27 PM, Bill Lyles [EMAIL PROTECTED] wrote:
Hi Bill,
I still can't get this to work
Thats why I hate being a newbie
so I'm attaching the form page and the script
some please tell me what I'm doing wrong
Everytime I run it my browser it just says the page cannot be
On 5/9/02 1:15 PM, Batchelor, Scott [EMAIL PROTECTED] wrote:
$value =~ s/%([\dA-Fa-f]{2})/pack(C, hex($1))/eg;
this is saying substitute any alpha, non-alpha characters with the
hexadecimal string of $1.
I am not sure what the % sign does or the eg
Again, thanks in advance.
Scott
On 5/6/02 6:30 AM, David vd Geer Inhuur tbv IPlib
[EMAIL PROTECTED] wrote:
Hi,
Hi David,
I am strugling with my program that list the contents of a directory.
Ones the directory contains files and you have permission it shows you a doc
icon
else it will show a directory-map followed by
On 4/28/02 11:08 AM, Mat Harrison [EMAIL PROTECTED] wrote:
ok, i wouldn't mind using javascript but I don't know how it would tie in
with my scripts. I want this cgi include to scan for a cookie, check the
values etc and either print the membership links or redirect to the login
page.
You
On 4/28/02 8:41 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
...
In vi I could say :1,$g/^...$/s/\(.*\)/???\1/g# and it
works.
In Unix when I output to sed file | sed 's\(.*\)/???\1/g' ##
it works.
When I dofile | sed 'g/^...$/s/\(.*\)/???\1/g'
I
On 4/15/02 10:38 PM, Timothy Johnson [EMAIL PROTECTED] wrote:
I think the preferred way to do a negative match is with the !~ operator.
if( $email !~ /@/ )
at this point you don't really need to check if $email eq , because if it
does it will not have an @ in it.
I'm not sure, but you
On 4/11/02 1:35 PM, Christopher Veilleux [EMAIL PROTECTED]
wrote:
Hi Chris,
I have a web page that has a multiline textbox.
I would like to have the client be able to print only what is in the text
box.
How can I do that?
The first way that comes to mind is having a button on the form
On 4/4/02 3:00 AM, Adam Bartley [EMAIL PROTECTED] wrote:
Easy. Mac, Windows and Unix all use different endings to their lines. The
Mac uses *both* the PC and the Unix form. Easiest is to download TexEdit,
open your cgi files with it and use the quick convert option to turn it from
Mac to
On 4/3/02 6:47 PM, Daniel Falkenberg [EMAIL PROTECTED] wrote:
Well I think I have figured it out...
The location of my file looked like this...
$file = c:\folder\folder\test.cgi;
Now this didn't work like this so I changed it to...
$file = 'c:\folder\folder\test.cgi';
Now it
On 4/3/02 4:02 PM, Pedro A Reche Gallardo [EMAIL PROTECTED]
wrote:
Hi, I have a cgi script that uploads files but I have found that when
those files are uploaded from a Mac or Windows the return character
(maybe other characters too) are replaced by something else. Does any
one know how to
Hey all,
I seem to remember seeing this done somewhere, but now I can't figure out
how to do it now.
If you have a function that returns a list, such as split(), is there a way
to only return one item from that list, as if you were working with an
array?
For instance, if you have something
Thanks all! I knew it was something like that. Parenths, not curlies...
And thanks for the ref on File::Basename, too. Looks like I won't have to
reinvent the wheel on that one. :)
Thanks,
--
Michael
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On 4/2/02 4:22 PM, Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi all,
Hi Teddy,
I want to make a Perl script and I want to include an HTML file in a certain
place in it.
First, I assume you mean you want the contents of an HTML file to be
included in your script's output.
I would also
On 4/2/02 7:51 PM, Bob T [EMAIL PROTECTED] wrote:
Hi Bob,
In order to have perl work as a cgi scripter are any modules besides CGI.pm
actually needed??
You need no modules. All you need is a web server with a perl interpreter
For instance, the following uses no modules:
#!/usr/bin/perl
On 4/2/02 1:54 AM, Jonathan E. Paton [EMAIL PROTECTED] wrote:
for instance between feb 28, 200 and
jan 30, 2002...
You must be a historian of some sort, nobody
else is interested in such large 'stages' of
time ;-)
The question is, what are you doing with log files from the year 200 in
On 4/1/02 9:13 AM, Aman Raheja [EMAIL PROTECTED] wrote:
Hi all
I have created a cgi-perl script for a web-site. I am using cookies and
mysql for database on a Linux box.
When my page is called in IE, it works great, but Netscape throws out the
whole HTML code.
Now, if I copy this code and
On 3/22/02 1:26 PM, Matthew Harrison [EMAIL PROTECTED]
wrote:
if i have a file delimited by commas and i want to make a script that will
search to see if a word, passed in a query string, is in the file, and
redirect to one url if i does and one if it doesn't (both urls are also
passed via
Oops, I didn't realize this was cross-posted, and replied to the first
instance I saw (the beginner's CGI list). The Perl beginner's and Perl
beginner's CGI lists are, for the most part, mutually exclusive. (Does it or
does it not have to do with CGI?). Please don't cross post, people. I assure
On 3/20/02 8:26 PM, Sunish Kapoor [EMAIL PROTECTED] wrote:
Hi Teddy,
Want an HTML version of Programming Perl Second version (Free) .
Sunish
;-)
No, I do not. And neither does anyone else. Rethink your outlook on piracy.
--
Michael
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
On 3/21/02 5:36 AM, Tor Hildrum [EMAIL PROTECTED] wrote:
I want to make
my own Perl/CGI webpage. But, I don't really see any options in CGI.pm to
give the site the kind of design I want. Is there some place I could look
for information about the design options CGI.pm provides? I tried using
On 3/20/02 4:29 AM, Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi all,
I heard about that famous Camel Book for Perl but I don't know its real
name.
Please tell me if you know.
Thank you.
Teddy,
Programming Perl, by Larry Wall, Tom Christiansen, and Jon Orwant.
On 3/20/02 11:05 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
My new web hosting service at oneononeinternet.com doesn't have error logs
for each site. What do I do?
Is there a way for me to create my own logs for my perl files?
You could redirect STDERR like this...
On 3/19/02 10:59 PM, OZGUR GENC [EMAIL PROTECTED] wrote:
Hi All,
Does anyone help me about how I can run my perl scripts on background?
Ozgur Genc
I assume you're on Unix/Linux (otherwise you just switch apps while the
script is running, right?)
perl myscript.pl
Works for me.
--
Michael
On 3/9/02 1:46 PM, Scot Robnett [EMAIL PROTECTED] wrote:
Hi Scot,
I'm trying to do a simple verification of an e-mail address format. I want
to require:
- 1 or more alphanumeric characters
- followed by @
- followed by 1 or more alphanumerics
- followed by a dot
- followed by 2-4
Oops, I didn't realize this was cross-posted. (Please don't cross-post,
people. You are NOT the only person who thought up the idea of being on more
than one related list at once.) My first reply went to the beginner's list
-- ignore it. The CGI beginners list seems more appropriate.
On 3/9/02
On 3/9/02 10:25 PM, Troy May [EMAIL PROTECTED] wrote:
The second one:
How to use the query string to determine what part of a CGI script runs?
I need to have the form button execute a certain part of the script.
Thanks for the specification.
The query string is stored in the variable
On 3/9/02 8:41 PM, Troy May [EMAIL PROTECTED] wrote:
Hello,
How do I link to a certain part of a CGI program with a form? I was
thinking that I have to link to a sub-routine, but I can't get it working.
Here's the form tag I'm trying:
FORM name=form action=$cgi?get_results method=post
On 3/7/02 2:02 PM, Naveen Parmar [EMAIL PROTECTED] wrote:
Any good text editors for Mac?
I am interested in something that will display at least line #s.
TIA,
- NP
BBEdit http://www.barebones.com/products/bbedit.html. (Not BBEdit Lite,
mind you, the full version.)
IMHO, it's the best
On 3/7/02 4:40 PM, Kevin Meltzer [EMAIL PROTECTED] wrote:
Assuming you are on OS X, what's wrong with vi? Or emacs?
Though BBEdit does admittedly take a lot longer to start up than vim (or the
like), BBEdit is more flexible (AFAIK, IMHO) and full-featured. (...Which is
why you pay over $100
On 3/6/02 2:25 PM, Fred Sahakian [EMAIL PROTECTED] wrote:
Hi Crew:
Hi Fred,
Here's one--
Im taking in data through a Perl Script with the following conversion:
$value = ~s/Apple/Orange/g;
This is fine for new data, but each time the program is run it's taking all
the data being
On 3/5/02 12:52 AM, GsuLinuX [EMAIL PROTECTED] wrote:
thanx, but i got a huge html code and converting like that will cost be too
much, isn't there a method pratique like
print html code;
?!??!?!!??
thanx
Derya
It's all a matter of what you want to do. If you want the benefits of
On 2/28/02 1:41 PM, Chris [EMAIL PROTECTED] wrote:
I have been looking in the Learning Perl book, and cannot find it.
I am sure that it is just a terminology thing.
In VB {Yeah the old VB again :P) I could do:
Select Case $Junk
Case 1
Do Something
Case 2
Do Something
Case 3
Do
On 2/23/02 3:52 PM, Marc Morrison [EMAIL PROTECTED] wrote:
I have an online form that has a Comments field. I
need to extract ALL of the information from the
comments field.
Each Comments line begins with Comment: so the
/^Comments/ works to match that, however the user may,
or may
On 2/23/02 8:51 PM, Marc Morrison [EMAIL PROTECTED] wrote:
Hi Marc,
The form generally has input as follows:
Comment: comment 1 then a new line
then comment two then a new line
then comment three
I am trying to capture all three lines of this
Comment: field.
Oops, sorry about that.
On 2/22/02 10:40 AM, Carlo Sayegh [EMAIL PROTECTED] wrote:
Hello All,
Hi Carlo,
I've written a very simple script where the user inputs data, from which
a report is generated. My problem is that some of this data is in rows
and columns and every time the user hits enter to start a new
On 2/21/02 10:00 PM, Michael Eggleton [EMAIL PROTECTED] wrote:
Hi All,
I have a problem with the Perl format command.
If I use the '' for Justify left. I get the error message: Missing
right curly or square braket.
You need to terminate formats with '.' (a single period), not '..'
That
On 2/21/02 10:15 PM, Jeff 'japhy' Pinyan [EMAIL PROTECTED] wrote:
On Feb 21, Michael Kelly said:
On 2/21/02 10:00 PM, Michael Eggleton [EMAIL PROTECTED] wrote:
If I use the '' for Justify left. I get the error message: Missing
right curly or square braket.
You need to terminate
On 2/15/02 12:00 PM, Stephen Warburton [EMAIL PROTECTED]
wrote:
Hi,
Hey Stephen,
I am stuck trying to get a simple C++ CGI working. I am using the installed
configuration file which allows Apache to succesfully serve up a web page
under document root:
DocumentRoot C:/Apache/Apache
On 2/13/02 2:44 PM, dan radom [EMAIL PROTECTED] wrote:
Hi,
I've got a problem with the following code...
my @hosts=qw( lunar solar venus mars saturn pluto );
foreach (\@hosts) {
system(/usr/bin/ssh @hosts $ARGV[0]);
}
What I'm wanting to do is call foo.pl uname (for
On 2/6/02 6:58 AM, r p [EMAIL PROTECTED] wrote:
hi everyone.
i am trying to use sed in order to change all my batch
script.
Is it just me, or is this a Perl list, not a sed list?
--
Michael Kelly
[EMAIL PROTECTED]
http://www.jedimike.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED
only replace upper-case Ms, and unless you use 'g' (Global
replace), you'll only replace the first M.
Hope that helps,
--
Michael Kelly
[EMAIL PROTECTED]
http://www.jedimike.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to ask it, but if you're
looking for a finished Perl script, check out websites such as the CGI
Resource Index (www.cgi.resourceindex.com) or the like.
I'm not sure if it will fit your needs, but you may want to check out this
URL:
http://www.jedimike.net/MKGuestBook/
-Michael Kelly
Email: [EMAIL
Yeah, there's a few of us here. :)
-Michael Kelly
Email: [EMAIL PROTECTED]
The Web: http://www.jedimike.net
From: Andre` Niel Cameron [EMAIL PROTECTED]
Reply-To: Andre` Niel Cameron [EMAIL PROTECTED]
Date: Sat, 17 Nov 2001 17:32:02 -0500
To: [EMAIL PROTECTED]
Subject: Hi
Perl is an extremely powerful, multi-talented tool that is often described
as a Swiss Army Knife
Correction: Swiss Army Chainsaw :)
-Michael Kelly
Email: [EMAIL PROTECTED]
The Web: http://www.jedimike.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Am I the only one receiving all the emails from the Perl Beginners, Perl
Beginners CGI, and MacPerl lists as no subject from nobody? (All the
headers are in the message body.) Is this something on my end? All other
emails I get are ok.
Thanks,
-Michael Kelly
Email: [EMAIL PROTECTED]
The Web
From: [EMAIL PROTECTED] (Randal L. Schwartz)
Organization: Stonehenge Consulting Services; Portland, Oregon, USA
Date: 10 Oct 2001 15:32:01 -0700
To: [EMAIL PROTECTED], [EMAIL PROTECTED] (Michael Kelly)
Subject: Re: Browser Redirection
Michael == Michael Kelly [EMAIL PROTECTED] writes
://www.perldebugged.com
-Michael Kelly
Email: [EMAIL PROTECTED]
The Web: http://jedimike.hypermart.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 9/18/01 10:54 AM, chris morris wrote:
Could the list admin please contact me off-list. Thank you.
Oh, boy. Please not this again. I suggest that you look at the bottom of
your own message for your answer.
-Michael Kelly
Email: [EMAIL PROTECTED]
The Web: http://jedimike.hypermart.net
.
If it's not, just ignore this message :)
-Michael Kelly
Email: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
text files. Maybe you could give us examples of the files you're trying to
read?
Once you have the data in variables you simply plug them into the value
attribute of an input tag, or in between textfield tags.
Perhaps if you could show us what you have so far, or be more specific.
-Michael Kelly
On 8/18/01 9:55 AM, Matthew Peter Lyon wrote:
I'm getting tired of this thread... let's talk about regexp's...
Sorry if this sounds a bit curt, but if you don't like the thread, don't
read it. 'Nuff said.
-Michael Kelly
Email: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED
On 8/15/01 4:28 PM, Clinton wrote:
Hi
I'm reading data from MSAccess, joining 2 fetched values with a comma and
writing to another table. The data seems to be padded. My resultant column
shows some space between the two values eg
valuefromFirstcolumn, valuefromSecondcolumn
character from the list? I know I'm
already adding a little filter to delete all messages from him, but couldn't
the list do that automatically? :)
-Michael Kelly
Email: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
):
use CGI;
$query = new CGI; # create a new query object.
@values = $query-param; # assign @values to the names of all the
# keys in $query
$value = $query-param('foo'); # assign $value to the value of foo
Hope that helps.
-Michael Kelly
Email
Sarcasm
On 8/8/01 1:58 PM, Sharon Carter wrote:
Hi! How are you?
Hi! We are fine!
I send you this file in order to have your advice
As a wise man once said...
[S]he who sendeth viruses to a perl group shall get no advice.
See you later. Thanks
The pleasure's all mine!
/Sarcasm
-Michael
.
Thanks,
-Michael Kelly
Email: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, and your suggestions work great!
Thanks!
-Michael Kelly
Email: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[Erg, I keep replying to just the person who sent the message. This one's to
the list.]
On 8/6/01 1:04 AM, . wrote:
What is the syntax of the href method in CGI.pm? I can't find it in the man
pages. Is it something like this:
href([URL],[Additional Attributes],[Link Text | Link Image]);
On 8/6/01 10:04 AM, Michael Kelly wrote:
[Erg, I keep replying to just the person who sent the message. This one's to
the list.]
On 8/6/01 1:04 AM, . wrote:
What is the syntax of the href method in CGI.pm? I can't find it in the man
pages. Is it something like this:
href([URL
.)
Make life easier for those of us who don't want to spend an hour getting our
filters to work perfectly...
-Michael Kelly
Email: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
is the error?
Krisztian
Your syntax is fine, and the split works just as it should. $var gets set to
var and $value gets set to value. (The variables and strings with the
same names might be causing some confusion, though.)
-Michael Kelly
Email: [EMAIL PROTECTED]
--
To unsubscribe, e-mail
lists values returned from lists as arrays. So as far as I
know, the following should work:
$input = new CGI;
@anArray = $input-param('listField'); #if your field is called listField
That should give you a list of values from the very start.
Hope that helps,
-Michael Kelly
Email: [EMAIL
95 matches
Mail list logo