Apparently there is some counterpart to javadoc for
perl. I tried perldoc perldoc but that is not what I
wanted. I want to know how I should be formating the
comments for my perl code. What topic do I look under
in perldoc?
Thanks,
siegfried
___
Is there any standard for documenting functions?
For example, in Javadoc, there is a specific format
that uses the "@" for identifying and formating the
function argruments. It looks like POD much more
freeform and is not nearly so detailed. Is that true?
Siegfried
P.S. Sorry Charles, I accide
I need my web site to automatically send an email
confirmation. I'm using CGI Perl 5.6 on IIS on
Win2000.
What options are there for doing this?
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--
To un
I have an nice little example that demonstrates how to
use COM from a console mode perl program.
However, I want to use COM from a perl CGI page and
microsoft discourages ASP programmers from createing
their own COM objects directly. ASP programmers are
encouraged to use the built-in Server object
Both Microsoft (with ASP.NET) and Apache (with stuts
and java custom tag library) have recognized the
perils of embedding UI code (browser code like HTML
and Javascript) inside backend/database code (SQL,
perl, Java, C# etc...)
For example, just yesterday I lost several hours
because, in my haste
I have a perl cgi file that works fine. However, I
want to move it into a sub directory -- the cgi-bin
directory for Apache HTTPD is just getting too
crowded.
So I created a directory and moved my file. It could
not find my evidence_db.pm file (which defined
variables like $sCssRoot that contain t
Question #1: Does anyone have any favorite document
that is a style guide for perl programmers? There are
entire books on the subject of style for C++
programmers, I've not seen any for perl, though.
I'm in the unfortunate position of being a lone
programmer on a Perl project. I've taught myself p
Is there a way I can explictly declare that each array
cell contains a hash?
Here is the only way I know to do it:
my @PCEs=[];
while ($Data->FetchRow()) {
my %dh = $Data->DataHash();
$PCEs[$cn]{$dh{"id"}} = $dh{"ridPCE"};
}
This "my" declaration only says that it is an array,
not an array o
I have a bit array I need to store in GET/POST
parameters and fields. Presently
I'm storing one bit per hidden field.
I would like to optimize this and use a little less
space. If I know I need less than 32 elements in my
boolean (bit) array, I can just use an integer in a
single hidden field.
I'm trying to index into some function parameters that
are passed as array references.
Is strategy #1 (see below) identical to strategy #2? I
thought so. I had a bug I that I fixed by recoding
strategy #1 as strategy #2 and it fixed the problem.
This leads me to believe they are not identical. W
I find I'm undefining variables my assigning an
unitialized variable to defined value to make it
undefined (as exemplified below).
Is there a better way to do this?
my $k;
for($i = 0; $i < $c; $i++){
if ( defined $k ){
print $x[$k];
my $t; # intentionally undefined
$k = $t; #
PAN and looked thru my perldoc but could
not find it. What is the name of feature for storing
large boolean arrays?
Thanks,
Siegfried
--- WC -Sx- Jones <[EMAIL PROTECTED]> wrote:
> Richard Heintze wrote:
>
> > What if I need more than 32 elements in my bit
> arra
I'm using these statements in my main program:
use DisplayPCE qw($order $fnx );
...
print join("", map { qq[$_] }
@{$DisplayPCE::order});
...
When I use the debugger, I find that order is
undefined! When I use the browser to view the page,
the value of undef is confirmed.
When I abandon package
The following statement is causing the warning in the
subject line. Am I doing something wrong or is there a
flaw in the cgi module I'm using?
line 172: foreach ($q->param) {
I am also getting this same error (or is it a
warning?) when I call a function:
$Case = $factory->mfr(name => $Data{"Ca
This code is not reading the entire file. It is my
intent that it read the entire file. Can somone help
me remedy this problem?
Thanks,
Siegfried
open (INFILE, "data.txt");
my $backgr_data=;
__
Do you Yahoo!?
Win a $20,
I think I solved my own problem.
I'm using a
my @backgr_data=;
to read everything. Is the above less efficient than
below?
read INFILE, $backgr_data, $some_really_big_number;
Thanks,
Siegfried
>This code is not reading the entire file. It is my
>intent that it read the entire file. Can s
16 matches
Mail list logo