Thanks Tim,
This information is right on point. I am currently having problems with
io::tty. I is giving me the same error as the error I received a long time
ago: language option compiler not present of something of the sort. What am
I doing wrong. Please help.
James Drane
- Original M
Redhat 7.1 runs httpd as user and group "apache" and not nobody!
-hkn
Boex,Matthew W. wrote:
>I am running redhat 7.1, apache 1-3.19
>
>My cgi's won't execute unless I run them with read, write, and execute
>perm's for user, group, and other. What gives? When I su to nobody, the
>owner o
Heh. I keep saying 'factor out common elements', but I didn't bother to do it in my
snippet :)
--- "Tillema, Glenn" <[EMAIL PROTECTED]> wrote:
> #!/usr/local/bin/perl -w
>
> use CGI qw/:standard *table/;
>
> $cust_id = "cust";
> $acct = "account";
> $title = "title";
>
> %hofEntries = (1 =>
#!/usr/local/bin/perl -w
use CGI qw/:standard *table/;
$cust_id = "cust";
$acct = "account";
$title = "title";
%hofEntries = (1 => {label => "Customer Id",
name => "NEWCUST_ID",
def => $cust_id,
size => "10",},
2 =>
Microsoft Excel has the ability to import data via a web query. If I create
a query and run it on the following URL, a table with stock price
information will be displayed on an Excel worksheet.
http://finance.yahoo.com/q?s=%5EIXIC+%5EDJI+RHAT++&d=v1
If I run the query again the next day the data
> -Original Message-
> From: Curtis Poe [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 15, 2001 6:00 PM
> To: [EMAIL PROTECTED]
> Subject: RE: How to generate a table ?
>
>
> Heh. I keep saying 'factor out common elements', but I
> didn't bother to do it in my snippet :)
>
Curtis,
--- "Moon, John" <[EMAIL PROTECTED]> wrote:
> Could someone please suggest a "simpler" way to generate this table ...
[snip]
Without going into the usual "use CGI.pm's HTML shortcuts" argument, I'd say they are
cleaner,
once you get used to them. The following only took me a couple of minutes t
Could someone please suggest a "simpler" way to generate this table ...
print
'',
'',
'',
'Customer Id : ',
'',
'',
$q->textfield(-name=>'NEWCUST_ID', -default=>$cust_id,-size=>10,
-maxlength=>10),
'',
"\n",
'',
'',
I am running redhat 7.1, apache 1-3.19
My cgi's won't execute unless I run them with read, write, and execute
perm's for user, group, and other. What gives? When I su to nobody, the
owner of those files, I can run them at the command line ( with 700 perms ).
I know I have run them before with
On Fri, 15 Jun 2001, Luinrandir Hernson wrote:
> This line of code in a perl script comes up with errors.
> What am I missing? problems with the word print?
> Am I missing a "/" somewhere for a reserved word? maybe the 2nd "Print"?
>
> print " onClick=\"parent.main.print()\">\n;
You are missing
Roger C Haslock wrote:
>
> The thoughts behind my questions included the following
>
> 'Why "our $variable"?'
>
> I looked at the 'our' variables. It seemed to me that they should be local
> to the enclosing module: only the database connect/disconnect subroutine
> names need be exported. Certa
The thoughts behind my questions included the following
'Why "our $variable"?'
I looked at the 'our' variables. It seemed to me that they should be local
to the enclosing module: only the database connect/disconnect subroutine
names need be exported. Certainly it seems unwise to write code which
MySQL, Apache and Perl are all available for Windows. I do a fair amount of
such stuff on Windows (but don't tell my Linux freinds).
You shouldn't need a C compiler, but I too would like to know of a
free/shareware one; I last used Topspeed under DOS.
- Roger -
- Original Message -
From:
--- William McKee <[EMAIL PROTECTED]> wrote:
> To do it manually, use the following and set $mime_type to whatever
> value you want (see W3C website for complete list):
> print "Content-type: $mime_type\n";
With all due respect, your print statement is why I recommend to people that they
shoul
Timothy Kimball wrote:
> Luinrandir Hernson wrote:
> : This line of code in a perl script comes up with errors.
> : ...
> : print "onClick=\"parent.main.print()\">\n;
>
> Needs a closing quote after the \n. -- tdk
I'm jumping into the middle of a thread here, but for readability
why not try some
Crazy reply sending directly to the originator... grr... Sent
privately (thanks to reply-to:) as well as to the list. Sorry,
Luinrandir.
--
Well, there's no ending quote between \n and ;. What's the error
message? Is this an exact copy and paste? This looks fine other than
the ending quote
Luinrandir Hernson wrote:
: This line of code in a perl script comes up with errors.
: ...
: print "\n;
Needs a closing quote after the \n. -- tdk
Missing the " at the end of the line
Try this:
print "\n";
Greg S.
> -Original Message-
> From: Luinrandir Hernson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 15, 2001 11:02 AM
> To: [EMAIL PROTECTED]
> Subject: Something wrong with my one line code
>
>
> This line of code in a per
Jim J Wigginton wrote:
: I'm trying to run a script which uses the HTML-Parser-3.25 scripts, and
: every time, I get this error:
: Can't locate loadable object for module HTML::Parser in @INC.
: The file Parser.pm is in the @INC directory, and the lib directory within
: the tar file is in the @IN
This line of code in a perl script comes up with errors.
What am I missing? problems with the word print?
Am I missing a "/" somewhere for a reserved word? maybe the 2nd "Print"?
print "\n;
Michael,
To change the MIME type being sent from a Perl script, if you are using
CGI.pm, just add the -type parameter. For example:
print header( -type=>'application/octet-stream' );
I wrote a script that would begin a download by using the Content-
Disposition header. However, I had to manuall
Use the ActiveState modules. They have a nifty Perl Package Manager (PPM) that allows
very simple installation. I have been using DBI into Oracle (on Unix machines) and MS
SQL for over 2 years now and all have worked fairly flawlessly.
-Chris
At 09:15 AM 6/15/2001, Georg Lange wrote:
>Hello li
I'm trying to run a script which uses the HTML-Parser-3.25 scripts, and
every time, I get this error:
Can't locate loadable object for module HTML::Parser in @INC.
The file Parser.pm is in the @INC directory, and the lib directory within
the tar file is in the @INC directory, also.
So... Can anyo
Hello list,
maybe this is a bit off-topic, sorry!
I would like to create something like a "database-driven-website" based on
MySQL, Apache and Well I did something based on PHP as link between
HTML and the Database. Now I want to use Perl as language that does the
cgi-stuff. I know, I ought
Robert Watterson wrote:
: I have a line that has each field separated by commas. However, some of
: individual fields are double quoted strings and also have embedded commas in
: them.
The Text::CSV_XS module will handle this.
-- tdk
Hi all,
I have a line that has each field separated by commas. However, some of
individual fields are double quoted strings and also have embedded commas in
them. for example:
Value1,"Value2, blah,blah,blah",Value3,"Value4,blah",Value5
When I use the split function using the split pattern of /
telnet is not defunct, but is a very basic connection. Normally, connecting
to a unix or other multi-user system, you will have to login/logon with a
name and password in reply to prompts. Usually it comes with a built in
terminal emulator, mostly ansi or vt100, you can get other flavours like IBM
> -Original Message-
> From: Frank J. Schmuck [mailto:[EMAIL PROTECTED]]
> Subject: Directory Structure under Win32 (Perl, CGI, Apache, MySQL)
>
> Is there a "correct" directory structure under WinX when
> installing Perl and
> Apache for development and testing of cgi scripts? I know tha
The following simple piece of code works fine as it is but looks very messy
compared to how it can be done in other languages. I first tried to write it
as two simple if statements and one lump of formatting code, but the values
generated within the if statements were not recognized outside the if
As long as Apache and Perl know where to look for the stuff they want,
anything can be correct.
The important thing is that Perl is in your path -- the famous shebang line
doesn't matter on a Win32 platform (though I use it for various switches)
and that you have your Apache httpd config file
You are returning an INTEGER (whole number) to $A and then trying to find
character values in your IF statements, change theme to if($A =
0){blablabla};
> --
> From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, June 14, 2001 10:09 PM
> To: [EMAIL PROTECTED
The following simple piece of code works fine as it is but looks very messy
compared to how it can be done in other languages. I first tried to write it
as two simple if statements and one lump of formatting code, but the values
generated within the if statements were not recognized outside the if
32 matches
Mail list logo