Hello,
i will connect from Unix ( Client HP -UX OS) to a Microsoft SQL 7.0 database
(SQL-Server Windows NT OS).
I have installed the DBI Module, but I don' t know, which DBD - Module I am
installing
additionally??
Best Regards
Hasan
--
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
htt
Jeff Pinyan <[EMAIL PROTECTED]> writes:
> On May 31, Pedro A Reche Gallardo said:
>
> >How can I split a string of caracters -any but blank spaces- into
> >the individual caracters?
>
> So you want to split "what's up, doc?" into
>
> @chars = qw( w h a t ' s u p , d o c ? );
>
> That is
Paul <[EMAIL PROTECTED]> writes:
> BTW, this is another use of the same sort of trick as
>
> { local $/ = undef;
> $file = ; # slurp the whole file into $file
> }
>
> which is more efficient than
>
>while() { $file .= $_ }
>
> or
>
>$file = join '', ;
>
> Still, I have a co
hello, all. i am working on an alarm clock program, and am now looking
into adding music playing ability for the alarms into it. I am wanting
people's opinions on what module(s) to use to play music from my perl
program.
it is a perl/tk program, just in case that makes a difference, and
hope to m
On Jun 1, Steve said:
>use File::stat;
>use time::local;
Heh, that's windows for you.
use time::local;
works on windows, but you meant to write
use Time::Local;
You see, on windows, 'time/local.pm' and 'Time/Local.pm' are the same
thing, because the OS is case-insensitive. However, when
I have the following code that I wanna use to see if a file is older than
today's date ( further along the line if it is I want to delete it but one
thing at a time)
It's a little rough and has a lot of lines in I use for debugging but if I
get an idea if I am in the right direction.
$filenam
Hello everyone,
I know that Apache::ASP might be a little off topic, but I don't really know
anyplace else to ask this question that I'm sure I'll get a valid response.
I'm using Apache::ASP and it works fine. What I'd like to do is use it and
have some ASP code write to a Microsoft Access da
> passing data (somewhat large) during a REFRESH
> or a REDIRECT.
Forms with method=get (in the tag) are limited
to about 2kbytes. method=post allows large data transfers.
hth.
If you need more help, you might want to head over to
the beginners-cgi list.
The Mail::POP3Client module is not part of the standard
module set, so you have to get it from somewhere. Most
modules are on CPAN.
So:
> I dloaded...
was sort of the right step.
But you also need to install it (usually just means putting
it in the right location).
Certainly:
> renamed it to
Help !
Does anyone had a suggestion on passing data (somewhat large) during a REFRESH or
a REDIRECT.
I've tried using a standard query string, i.e. x.com/abc.cgi?someparm=$somedata , but
I've seen to hit
the limit. Also , I played around with cookies with the same result. As a last resort
I haven't done much of anything yet. But of course figured out how
fetchmail can do this and send it to my user locally. So that is working.
BUT, if a perl script that is cron'd will use less resources, I'd prefer
that. Plus, I need to learn Perl. It fails when it
use Mail::POP3Client; because I
> Found module at CPAN but not sure it is what I want.
> MAIL::POP3Client was it. ANYone use this? Other
> ideas? I have tried it but had no luck. Not
> sure if I am barking up a wrong tree...
The right tree, perhaps the wrong bark.
What have you done? What happened?
Paste your code into an ema
Thanx everybody
michael your answer seems logical too
Interesting enough the file created by syswrite is
2147483647 ..do we have any way around this using perl..so that we get
bigger file i mean up to 4gb
as i had 5Gb space on sun machine with version 5.8...i got a file with 2G
although i
Want to retrieve email from ISP pop server and view it locally. running
sendmail. use PINE.
Found module at CPAN but not sure it is what I want. MAIL::POP3Client was
it. ANYone use this? Other ideas? I have tried it but had no luck. Not
sure if I am barking up a wrong tree...
As you see have pre
As far as I can see, the prints for output are going to the console, not a
file. The statement you're referring to:
__END__
flat2rdb.pl sitelist.str.fo
has very little to do with the perl script. The __END__ tells the perl
interpreter to not compile/run anything after the __END__ line. So the
> When this is done running will it
> generate a file called sitelist.str.fo ?
Based on a quick glance at the script,
the stuff after the __END__ token is
not being used by the script.
So...
> if($QWFLAT eq '')
> {
> print "Enter QW flatfile file name -> ";
> chomp($QWFLAT = );
> }
Thi
Once you've connected to your database with connect(), you can run any
valid SQL query (and whatever non-standard MySQL querys) you want by
calling prepare(SQL query) on the database object, and then execute() on
the prepare'ed object. Confused? Maybe not, but I'm sure someone out there
is.
Time
Lightning flashed, thunder crashed and Nichole Bialczyk <[EMAIL PROTECTED]> whispered
:
| i just wanted to let everyone know that i appreciate all of the time that
| you spent on me (especially today). my log script runs absolutely
| beautifully and my boss loves me! what else could i ask for?
I've never written a line of perl before ... and I've only been lurking on
the list for three hours or so. But I've been presented some code which was
written for Unix and I'm trying to run on NT using ActiveState Perl. It
converts a flat file from the USGS to a format we can get into our SQL
dat
Hear Hear!
-Original Message-
From: Joe Boro [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 31, 2001 6:54 PM
To: [EMAIL PROTECTED]
Subject: [OT] RE: Good job everybody!
I would like to add thanks for the patience of the people responding to some
very basic questions.
I have been lurkin
Brett W. McCoy [[EMAIL PROTECTED]] quoth:
*>
*>I think Solaris 8 & higher, the limit is something like 4 or 8 terabytes.
*>For all intents and purposes, it's unlimited.
Nope, 7 is good too..first 64-bit Solaris. And if you need one file that's
4 terabytes, you need something more than a sparc :)
I'm trying to write a Perl script which will connect to a MySQL database and
create certain tables if they do not already exist. Is there a way to send a
query such as "SHOW TABLES" and read the result into a variable for parsing?
Michael D. Risser
Mac
On Thu, May 31, 2001 at 06:43:34PM +, scott lutz wrote:
> I have looked through all of the doc and even searched CPAN, but can find no
> reference to using the Bcc feature.
>
> # Send the header.
> $smtp->datasend("To: test <$address_1>\n");
> $smtp->datasend("Bcc: test2 <$address_2>\n");
>
Uh, never mind. I expected the output to display to STDOUT. When I opened
the 'rpt' file, voila! there sat my report.
- Original Message -
From: "Brian Warn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 3:50 PM
Subject: report format/output question
Hello,
post about whether syntax of snippet with mail data being correct--it is.
I didn't read his mail but did change the script to send to me instead.
It works!!!
Thanks for everything else...
Ken
--
_
[EMAIL PROTECTED]
http://www.quantifier.org
_
If
On Thu, 31 May 2001, Brian Shoemaker wrote:
> I've never used the maxSplit parameter in my scripts. By not using the
> maxSplit parameter am I slowing things down?
As per `perldoc -f split`
If LIMIT is specified and positive, splits into no more than that many fields
(though it may split into f
On Thu, May 31, 2001 at 02:23:42PM -0700, Manish Tiwari wrote:
> how big a file can be created using syswrite ..it fails generally over 2G
It depends on restrictions imposed by your OS, filesystem, and the
underlying C libraries Perl uses.
You're probably hitting a 2G limit because of the data t
On May 31, Brian Shoemaker said:
>($id,$dir,$code,$etc) = split(/\|/,$i);
>
>However, the Perl 5 book I have lists the syntax of split as.
>
>lvalue = split(/pattern/,expression,maxSplit);
Perl can automatically add that argument if you have a known number of
elements on the left-hand side:
On Thu, 31 May 2001, Elaine -HFB- Ashton wrote:
> Solaris 2.6 instroduced large file support by allowing files up to 2GB.
> With 7 and up in 64-bit mode it is unlimited.
I think Solaris 8 & higher, the limit is something like 4 or 8 terabytes.
For all intents and purposes, it's unlimited.
> Sol
I have numerous files where I do the following
Within in a foreach loop I use..
($id,$dir,$code,$etc) = split(/\|/,$i);
However, the Perl 5 book I have lists the syntax of split as.
lvalue = split(/pattern/,expression,maxSplit);
I've never used the maxSplit parameter in my scripts
Brett W. McCoy [[EMAIL PROTECTED]] quoth:
*>
*>Are you using it on an x86 system? It's only 32 bits, and I think can
*>only support up to 2G files.
Solaris 2.6 instroduced large file support by allowing files up to 2GB.
With 7 and up in 64-bit mode it is unlimited.
Solaris x86 is still 32-bit
Acquired this script that will email data entered on form. Simple enough.
Email does arrive but with what appeared as template information. So, I
edited that part of the script.
My question is (provided the rest of the script performs correctly) is the
below snippet right? This is where the email
I would like to add thanks for the patience of the people responding to some
very basic questions.
I have been lurking around the list trying to pick out what I needed at the
moment and have been amazed at the replies, both in how quick them come and
how helpful they are.
I am a student and just
Hello,
I'm trying to do something fairly simple: read in colon-delimited data from a file
and output it to the screen first. After that is OK, I want to send it in an email.
The syntax checks out OK, but nothing outputs. Does anyone see what I'm missing?
Thanks,
Brian
-
On Fri, 1 Jun 2001, Paul Johnson wrote:
> What version of Perl are you using? If it is from ActiveState then you
> may need to match your environment somewhat to the environment under
> which that perl was built. I think this means you will need Visual C++
> and nmake, but it may now be possibl
On Thu, May 31, 2001 at 09:13:23AM -0700, C.Ouellette wrote:
> I believe I should have added that I am currently in a
> Windows NT environment.
My condolences. But at least you're not using 95 or 98. Then you
really would have problems.
> So I guess the follow-up question would be which of
thank you. it's funny. i tried %s, but i thought that it meant spaces
after looking at my data. i didn't know that it was right justified :)
so that little '-' comes in handy!
nichole
I'd just like to say that I'm really impressed with how quickly you can get a
question answered on this list. Keep up the good work everybody!
-- Dave
On Thu, 31 May 2001, Nichole Bialczyk wrote:
> i know that for numbers you can use sprintf %u, %i etc
>
> is there something similair for alphnumerics?
%s is used to print a string, %c is used to print a character, %% is used
to print a percent sign...
To learn more about sprintf, type 'perldoc
%s prints out strings
For a complete list look at:
perldoc -f sprintf
Skip to the part that begins(about the second 24 line page):
Perl's "sprintf" permits the following universally-known conversions
- Original Message -
From: "Nichole Bialczyk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTE
i know that for numbers you can use sprintf %u, %i etc
is there something similair for alphnumerics?
nichole
On Thu, 31 May 2001, Manish Tiwari wrote:
> SunOs
> release 5.8
Are you using it on an x86 system? It's only 32 bits, and I think can
only support up to 2G files.
-- Brett
Brett W. McCoy
Software Engineer
Broadsoft, Inc.
240-364-5225
[EMAIL PROTECTED]
Manish Tiwari [[EMAIL PROTECTED]] quoth:
*>how big a file can be created using syswrite ..it fails generally over 2G
Depends on your OS and if your Perl is compiled with large file support.
If I remember right, largefile support is, by default, enabled on
platforms that support it in versions 5.6
how big a file can be created using syswrite ..it fails generally over 2G
thanx in advance
regards
manish
SunOs
release 5.8
- Original Message -
From: "Brett W. McCoy" <[EMAIL PROTECTED]>
To: "Manish Tiwari" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 2:37 PM
Subject: Re: syswrite issue
> On Thu, 31 May 2001, Manish Tiwari wrote:
>
> > how big a file can be cre
On Thu, 31 May 2001, Manish Tiwari wrote:
> how big a file can be created using syswrite ..it fails generally over 2G
That's OS & filesystem dependent and cannot be overcome with Perl. What
OS are you using?
-- Brett
Brett W. McCoy
Software Engineer
Broadsoft, Inc.
240-364-5225
[EMAIL PROTEC
Mark Ross [[EMAIL PROTECTED]] quoth:
*>Hi all,
*>
*>I was wondering if someone could point me in the direction where I could
*>find out how, if even possible, to install Perl modules in a different
*>directory (like /cgi/module_library/). I don't have root access to the
*>server. Is there a way ar
how big a file can be created using syswrite ..it fails generally over 2G
thanx in advance
regards
manish
List, I got this paragraph in recent correspondence with someone
off-list:
> I'm not so much discouraged as realize that I need a bit more time
> with Perl before I can understand most of what gets passed around in
> the list. I'll be back in a couple of months. From my short exposure,
> it seem
Paul Cotter [[EMAIL PROTECTED]] quoth:
*>Can someone explain the following. The file /etc/inputrc certainly has the 'wrong'
lines in it, but I am loathe to delete them without understanding what I am doing.
(mmm, I wonder where I screwed up..)
It Pays to read the documentations kids.
>From t
Hi all,
I was wondering if someone could point me in the direction where I could
find out how, if even possible, to install Perl modules in a different
directory (like /cgi/module_library/). I don't have root access to the
server. Is there a way around this?
Thanks,
Mark Ross
--- Jeff Pinyan <[EMAIL PROTECTED]> wrote:
> On May 31, Paul said:
>
> >Still, though, won't that return all the *strings* as elements,
> rather
> >than the individual characters? and wouldn't \S* solve that
> difference?
>
> We're only matching ONE character at a time:
>
> @all_chars = $st
Paul Hodges wrote:
: Try flipping the hash.
:
: my %flipped;
: @flipped{values %HASH} = keys %HASH;
:
: That makes the keys of %HASH the values of %flipped, with the matching
: values of %HASH being the keys to which they are assigned.
: Now just do it the easy way.
:
: for my $key (sort ke
On May 31, Paul said:
>Still, though, won't that return all the *strings* as elements, rather
>than the individual characters? and wouldn't \S* solve that difference?
We're only matching ONE character at a time:
@all_chars = $str =~ /./sg;
@all_ws = $str =~ /\s/g;
@all_non_ws = $str
i don't really deal with coffee too much, but i got a 24 pack of Dew in
the fridge!
On Thu, May 31, 2001 at 02:05:24PM -0700, Paul wrote:
>
> --- Nichole Bialczyk <[EMAIL PROTECTED]> wrote:
> > i just wanted to let everyone know that i appreciate all of the time
> > that
> > you spent on me (e
--- "Maynard, Garth" <[EMAIL PROTECTED]> wrote:
> Caution: if you have any data that is repetitive, you will lose
> information during the flipping process.
An excellent point.
Shouldn't be the case here, since the values were the order of entry,
but it needed pointing out.
--- Jeff Pinyan <[EMAIL PROTECTED]> wrote:
> On May 31, Paul said:
>
> >> my @chars = $string =~ /\S/g;
> >
> >I've seen a couple of people doing this, and maybe I'm just
> confused,
> >but
> >
> >Isn't the point of the original request to split into the original
> >characters, but leave *ou
Caution: if you have any data that is repetitive, you will lose information
during the flipping process.
Subject: Re: Sorting a hash by value, and displaying the key
--- David Michael <[EMAIL PROTECTED]> wrote:
> Hello,
> I have a hash that needs to be displayed in a certain order. I
> tri
--- Paul <[EMAIL PROTECTED]> wrote:
>
> --- David Michael <[EMAIL PROTECTED]> wrote:
> > Hello,
> > I have a hash that needs to be displayed in a certain order. I
> > tried
> >
> > foreach $key (sort (keys %HASH)) {
> > print $key;
> > }
> >
> > that sorts alphabeti
i just wanted to let everyone know that i appreciate all of the time that
you spent on me (especially today). my log script runs absolutely
beautifully and my boss loves me! what else could i ask for?
now about that raise.
:) nichole
On May 31, Paul said:
>> my @chars = $string =~ /\S/g;
>
>I've seen a couple of people doing this, and maybe I'm just confused,
>but
>
>Isn't the point of the original request to split into the original
>characters, but leave *out* the spaces?
>
>and isn't \S any nonspace?
>
>So, if you split
--- David Michael <[EMAIL PROTECTED]> wrote:
> Hello,
> I have a hash that needs to be displayed in a certain order. I
> tried
>
> foreach $key (sort (keys %HASH)) {
> print $key;
> }
>
> that sorts alphabetically. I need it in the order it was
> inserted, so I made
I have written a script that uses the Perl DBI and the DBD-ODBC
modules to connect to a SQL Server database. The script is running
rather slowly, and the performance monitor shows that the machine
is using only one of the 8 processors. Is this most likely a
problem with the configuration of NT Se
--- "Randal L. Schwartz" <[EMAIL PROTECTED]> wrote:
> > "Pedro" == Pedro A Reche Gallardo
> <[EMAIL PROTECTED]> writes:
>
> Pedro> How can I split a string of caracters -any but blank spaces-
> into
> Pedro> the individual caracters?
>
> my @chars = $string =~ /\S/g;
I've seen a couple
--- Pedro A Reche Gallardo <[EMAIL PROTECTED]> wrote:
> Hi all,
> How can I split a string of caracters -any but blank spaces- into
> the individual caracters?
> Cheers
I'd say
@chars = split /\s*/, $string;
That will split between characters that have any number of spaces
between them -
--- "Hill, Ronald" <[EMAIL PROTECTED]> wrote:
> try
> use vars qw($sec $min $hour $mday $mon $year);
This will satisfy strict, but in case anyone wonders, these are still
globals. If you do this in the main body of your program, these are
actually $main::sec, $main::min, ... $main::year.
That
Well, I made a wild stab in the dark and though you might have a control character at
the end of something.
When I run this code(note the \r at the end of rname):
$ltr = "LETTER";
$rname = "MICROFILM\r";
$numltrs = 4;
$rdate = "30May01";
$pdate = "31May01";
$cntr=1;
$new_fn="$ltr.$rname.$numltrs
It's just bad formatting. Just change 'on' to 'On' and vice versa for 'off'.
No need to delete any lines.
-Original Message-
From: Paul Cotter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 31, 2001 4:28 PM
To: [EMAIL PROTECTED]
Subject: unknown CPAN variables
Can someone explain the fo
On Thu, May 31, 2001 at 02:41:32PM -0500, David Michael wrote:
> Hello,
> I have a hash that needs to be displayed in a certain order. I tried
>
> foreach $key (sort (keys %HASH)) {
> print $key;
> }
>
> that sorts alphabetically. I need it in the order it was inserte
Can someone explain the following. The file /etc/inputrc certainly has the 'wrong'
lines in it, but I am loathe to delete them without understanding what I am doing.
(mmm, I wonder where I screwed up..)
[root@prc /root]# perl -MCPAN -e shell
Warning [/etc/inputrc line 4]:
Invalid value `on'
David Michael wrote:
: I have a hash that needs to be displayed in a certain order. I tried
:
: foreach $key (sort (keys %HASH)) {
: print $key;
: }
:
: that sorts alphabetically. I need it in the order it was inserted, so I made the
:value a number that increased f
On Thu, 31 May 2001, David Michael wrote:
> Hello,
> I have a hash that needs to be displayed in a certain order. I tried
>
> foreach $key (sort (keys %HASH)) {
> print $key;
> }
>
> that sorts alphabetically. I need it in the order it was inserted,
> so I made the value a
Lightning flashed, thunder crashed and Nichole Bialczyk <[EMAIL PROTECTED]> whispered
:
| i'm sorry. i didn't think that you guys would want me to include my code.
| i just assumed that i should try to make my question to the point with as
| little text as possible. i am still having the same pr
At 02:44 PM 5/31/01 -0500, Nichole Bialczyk wrote:
>so how do i get around that?
Make the file writable by whatever user the CGI processes run under.
Sucks, doesn't it?
>On Thu, May 31, 2001 at 02:35:03PM -0500, Me wrote:
> > > when i run my log script in unix
> >
> > it runs with your permissi
I had this problem last week.
Delete the logfile before running it from the webserver. The webserver will
recreate the file with the proper permissions.
-Original Message-
From: Me [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 31, 2001 3:35 PM
To: Nichole Bialczyk; [EMAIL PROTECTED]
Subj
so how do i get around that?
On Thu, May 31, 2001 at 02:35:03PM -0500, Me wrote:
> > when i run my log script in unix
>
> it runs with your permissions
>
> > when i run my log script in IE
>
> it runs with the CGI's permissions,
> as controlled by the sys admin that
> set up the web server.
>
> when i run my log script in unix
it runs with your permissions
> when i run my log script in IE
it runs with the CGI's permissions,
as controlled by the sys admin that
set up the web server.
On Thu, 31 May 2001, Jeff Pinyan wrote:
> Mortal::Kombat (by me) allows you to say:
>
> flawless victory; # to end a program successfully
>
> and
>
> fatality "you have been thoroughly thrashed"; # like die()
Oh japhy, you rule.
`perl -MCPAN -e shell;` here I come!
-- Dave
Hello,
I have a hash that needs to be displayed in a certain order. I tried
foreach $key (sort (keys %HASH)) {
print $key;
}
that sorts alphabetically. I need it in the order it was inserted, so I made the
value a number that increased for each key. I need to sort by
On Thu, 31 May 2001, Jeff Pinyan wrote:
> >The Koi or Mortal Kombat modules are good substitutes. :-)
>
> Heh, I think you mean Coy. Koi is a type of fish. ;)
So is Carp. Coy (or Koi) are similar, only prettier. :-)
-- Brett
Brett W. McCoy
Software Engineer
Broadsoft, Inc.
240-364-5225
[EMAI
On May 31, Brett W. McCoy said:
>> NEVER tell a random browser what your error message is!
>>
>> AT BEST, you simply say "it broke, we know about it, sorry".
>
>The Koi or Mortal Kombat modules are good substitutes. :-)
Heh, I think you mean Coy. Koi is a type of fish. ;)
Coy (by Damian Conway
> "Pedro" == Pedro A Reche Gallardo <[EMAIL PROTECTED]> writes:
Pedro> How can I split a string of caracters -any but blank spaces- into
Pedro> the individual caracters?
my @chars = $string =~ /\S/g;
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL
On 31 May 2001, Randal L. Schwartz wrote:
> Just remember to turn that off before you deploy the code for production.
>
> NEVER tell a random browser what your error message is!
>
> AT BEST, you simply say "it broke, we know about it, sorry".
The Koi or Mortal Kombat modules are good substitutes
> How can I split a string of caracters -any but blank spaces- into
> the individual caracters?
Try something like this:
my @arr = split //, "sometext";
foreach $i (@arr) {
print "$i\n";
}
-- Brett
Brett W. McCoy
Software Engineer
Broadsoft, Inc.
240-364-5225
[EMAIL PROTECTED]
On May 31, Pedro A Reche Gallardo said:
>How can I split a string of caracters -any but blank spaces- into
>the individual caracters?
So you want to split "what's up, doc?" into
@chars = qw( w h a t ' s u p , d o c ? );
That is, every character except spaces?
First, remove spaces from t
> "Morbus" == Morbus Iff <[EMAIL PROTECTED]> writes:
Morbus> open(PIPE_TO, "your-filename");
Morbus> print PIPE_TO "burp!";
Morbus> close PIPE_TO;
Morbus> print PIPE_TO "sadness";
Morbus> The "burp" line will print to the file correctly (assuming we were
Morbus> able to creat
> "Brett" == Brett W McCoy <[EMAIL PROTECTED]> writes:
Brett> Actually, if you use the CGI:Carp module (and import fatalsToBrowser), you
Brett> can reduce this to a single line:
Brett> use CGI::Carp qw(fatalsToBrowser);
Just remember to turn that off before you deploy the code for productio
when i run my log script in unix, it works and writes to the log. when i
run my log script in IE, it can't open the file. permissions on the file
are 777.
thanks, nichole
Hi all,
How can I split a string of caracters -any but blank spaces- into
the individual caracters?
Cheers
-
--
***
PEDRO a. RECHE gallardo, pHDTL: 617 632 3824
Scientist, Mol.Immnunol.Foundation, FX: 617
On Thu, 31 May 2001, Craig Moynes/Markham/IBM wrote:
> unless(open(LOG,">$logfile")) {
> print "Content-type: text/html\n\n";
> print "Couldn't open $logfile. $!\n";
> print "At $date, $ENV{'REMOTE_HOST'} couldn't enter the site.";
> exit;
Actually, if you use the CGI:Car
--- Nichole Bialczyk <[EMAIL PROTECTED]> wrote:
> i'm sorry. i didn't think that you guys would want me to include my
> code. i just assumed that i should try to make my question to the
> point with as little text as possible. i am still having the same
> problem (and i do have the ").
Better to
HANG ON :) Brain kicked into gear after I sent the last message.
open() returns a positive value if it succeeds ...what you want is
|
|
V
unless(open(LOG,">$logfile")) {
print "Content-type: text/html\n\n";
print "Couldn't open $logfile. $!\n";
print "At $date, $ENV{'REMOTE_
>i can't believe this. the whole problem is this: instead of working on my
>work's afs account, i'm copying over the scripts to my account just in
>case something goes wrong. well, i just moved to a different office and i
>realized (just now) that i was using binary instead of ascii.
>
>than
i can't believe this. the whole problem is this: instead of working on my
work's afs account, i'm copying over the scripts to my account just in
case something goes wrong. well, i just moved to a different office and i
realized (just now) that i was using binary instead of ascii.
so i have was
On Thu, 31 May 2001, Nichole Bialczyk wrote:
> i'm sorry. i didn't think that you guys would want me to include my code.
> i just assumed that i should try to make my question to the point with as
> little text as possible. i am still having the same problem (and i do
> have the "). here is my ex
so i've discovered the wonders of use strict; (it wasn't in my tutorial)
and i'm trying to declare this array:
my @timelog($sec,$min,$hour,$mday,$mon,$year) =
localtime(time)[0,1,2,3,4,5];
and i get the error:
Global symbol "$sec" requires explicit package name
etc
etc
i tried putting 'my' be
I have looked through all of the doc and even searched CPAN, but can find no
reference to using the Bcc feature.
# Send the header.
$smtp->datasend("To: test <$address_1>\n");
$smtp->datasend("Bcc: test2 <$address_2>\n");
$smtp->datasend("From: $myname <$myemail>\n");
$smtp->datasend("\n");
I a
Margit Brunder wrote:
>
> I get the error message "can't locate loadable object for module
> HTML::Parser in @INC at ./HTML/entities.pm line 79"
> although the module Parser.pm is in the same directory as entities.pm
> The path where Parser.pm is located is included in @INC !!
Some modules
>what does a closed filehandle error mean? i'm trying to write to a log
>and yes, the permissions for the directory and the log are 777.
A closed filehandle means that the pipe (ie., the tunnel that connects your
perl script to the innards of the file) is no longer there. See the
examples bel
i'm sorry. i didn't think that you guys would want me to include my code.
i just assumed that i should try to make my question to the point with as
little text as possible. i am still having the same problem (and i do
have the "). here is my exact code:
sub log {
if (open(LOG,">$logfile"))
1 - 100 of 151 matches
Mail list logo