... Since qa() doesn't exist, I'll assume qw() as per subject line. The full form of qw for your example is: @array = ('x', 'y', 'z'); Look at the section...
9686
Chirhart, Brian
bchirhart@...
Apr 1, 2002 3:16 pm
Not sure if this is it or not, but don't you need USE::CGI in your perl script? I too am a complete newbie..... ... From: duffer [mailto:duffer@...] Sent:...
9687
john
john@...
Apr 1, 2002 4:00 pm
No, I do not ever use::CGI, I write complete programs instead. This is a bit time consuming, as I have to re-itterate what is already there (in CGI.pm), but...
9688
Charles K. Clarkson
charlesclarkson
Apr 1, 2002 4:01 pm
... You can test for a malformed line in the until block. See below. ... There's an easier way to clean this up. Instead of all those substitutions just try to...
9689
Charles K. Clarkson
charlesclarkson
Apr 1, 2002 4:10 pm
... <sarcasm> Yeah, I see what you mean. It would be horrible if I were trapped into using rulebooks like: Common Gateway Interface, TCP, IP, Apache, Sockets,...
9690
Tony Austin
urscripts
Apr 1, 2002 4:18 pm
Getting an error that I'm not sure the best way to resolve. I understand packages, global variable being attached to package 'main'... I'm getting an error...
9691
Jeff Eggen
jeggen@...
Apr 1, 2002 4:34 pm
... Seeing code and the offending line would be great right about here. ... Ah, but maybe you're calling it inside a loop or something? Please show code to...
9692
b_harnish
Apr 1, 2002 5:00 pm
... Well, there is no qa(), but for qw: qw = Q(uoted) W(ord list). The following are mostly similar (have same output): @x = split(/\s+/,'STRING1 STRING2...
9693
Aman Raheja
amancgiperl@...
Apr 1, 2002 5:10 pm
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,...
9694
Ofir
ofirb1@...
Apr 1, 2002 6:19 pm
Wow, man! Will it really take me a lifetime to learn what you know about Perl? ... Thank you very much! I'll dive into your code ASAP! Ofir ... From: "Charles...
9695
Chirhart, Brian
bchirhart@...
Apr 1, 2002 8:02 pm
Is it possible to only read in the last line of a file - a log file for example? I want to parse the LOG's that a program makes, but they can get pretty large...
9696
b_harnish
Apr 1, 2002 8:43 pm
... It could be that you're not printing the HTTP headers in your CGI script, or any number of other things. Please post some code. <sarcasm>Thanks for...
9697
Richard Taylor
richttaylor
Apr 1, 2002 9:24 pm
Yeah.. some code would be excellent.. haha.. Anyways.. two most common issues i can think of. No closing table tag.. will kill you everytime. I think lack of...
9698
b_harnish
Apr 1, 2002 9:49 pm
... In the thread (viewable at: http://groups.yahoo.com/group/perl-beginner/message/8926): Another user asked a similar question, and Jahpy suggested using the...
9699
anandria
Apr 1, 2002 10:05 pm
Hello, I just started to learn Perl for a correspondance course that I'm taking, and I'm having major problems with text files. The assignment calls for the...
9700
ROB Technology
rob@...
Apr 1, 2002 10:12 pm
Hello. I've created a form with a field that has a "BROWSE" button by it. The user then selects a file from their harddrive and presses submit. I want that...
9701
Fergus Cameron
tofergus@...
Apr 1, 2002 10:20 pm
... if i understand your description of the problem correctly then i think this is your problem. the printing of the table row will need to be conditional on...
9702
ROB Technology
rob@...
Apr 1, 2002 10:35 pm
Hello. I wanna search for the line <!--begin--> in a file and start printing some html. What's the coding?...
9703
Adrian Stovall
AdrianS@...
Apr 1, 2002 10:38 pm
$test='<!--begin-->'; open (FILE,"<file.ext") || die "can't open file: $!"; while (<FILE>) { print; if (/$test/) { code to do some printing of other stuff; } }...
9704
ROB Technology
rob@...
Apr 1, 2002 10:40 pm
thank you so much ... From: Adrian Stovall [mailto:AdrianS@...] Sent: Monday, April 01, 2002 6:38 PM To: 'perl-beginner@yahoogroups.com' Subject: RE:...
9705
b_harnish
Apr 1, 2002 11:25 pm
... Use the upload features from CGI.pm See "perldoc CGI". - Brian...
9706
ROB Technology
rob@...
Apr 1, 2002 11:26 pm
Oh shoot. Here goes that perldoc stuff. Are they available online? If so, where would i look for info on the upload feature? ... From: b_harnish...
9707
ROB Technology
rob@...
Apr 1, 2002 11:37 pm
Oh wait. I found perldoc on my computer. But I'm having difficulty understanding it. ... From: b_harnish [mailto:bharnish@...] Sent: Monday, April...
9708
Fergus Cameron
tofergus@...
Apr 2, 2002 1:40 am
... tie the primary hash to the database file using tie && DB_File then use the Storable package to freeze & thaw the hash contents from the tie'd primary. ...
9709
coo_t2
Apr 2, 2002 4:33 am
you can always get the docs here too. http://www.perldoc.com Search for "cgi" . --ed ... If so, ... button by it. ... submit. I ... ...
9710
gungoresen
Apr 2, 2002 7:32 am
How can I make partial search on Perl? For example, when I write "il" all the words containing "il" are listed like "Sevilay","Sevil", "Evil"......
9711
Jenda Krynicky
jendaperl
Apr 2, 2002 12:03 pm
From: "Aman Raheja" <amancgiperl@...> ... Is the content-type you send right? You do not send the page as text/plain, do you? MSIE ignores what the...
hi is this a correct way of transforming a text into an array of its individual words ? are there better/other ways ? and how can one scramble that final array...
9714
Jeff 'japhy' ...
evilffej
Apr 2, 2002 7:16 pm
... @words = split ' ', $string; That's assuming "words" are groups of non-spaces. If you need a more appropriate definition, maybe you want @words = split...