Try this (hope'll work)
$pathto='c:/perl/eg/grades.txt'
open (GRADES,$pathto) or die
It works in Unix for sure , and probably in W too
If you use the file grade.txt for many times in your script and if you change it's
location , you'll change your script just once in the "pathto" variable
Yes , you can
1. You can telnet at port 25 (the default port of SMTP) , you type "mail
from:[EMAIL PROTECTED]" then "rcpt to:where_you_want_to_mail" then type in
"data" and your message .
2. If you receive something like this , do a reply , then of course you'll get a
message of unknown host o
RCPT To:<[EMAIL PROTECTED]>
> > <<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
> > 550 5.1.1 <[EMAIL PROTECTED]>... User unknown
> >
> >Return-Path:<[EMAIL PROTECTED]>
> >Received:from anton([193.226.57.24])
&g
2001 03:02:14 -0700
> > Received: from qb.ro ([194.105.24.37]) by cpimssmtpa01.msn.com with Microsoft
>SMTPSVC(5.0.2195.3225);
> > Fri, 6 Jul 2001 03:01:43 -0700
> > Received: from anton ([193.226.57.24])
> > by qb.ro (8.11.0/8.11.0) with ESMTP id f66AJKh27069
I've listen to you all about the editors problem
Is anybody out there still using the old bottom-dweller vi ?
On Fri, 06 Jul 2001 14:48:53 +0200, Matija Papec <[EMAIL PROTECTED]> wrote:
> "Aigner-Torres, Mario" <[EMAIL PROTECTED]> wrote:
> >Hi Bill,
> >
> >my choice is gnuemacs
>
> Does it suppo
Hello,
I need to use a hash of hashes with a DMB file...
Where can I get the MLDBM module and how to install it?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello!
i need to install ODBC module on a machine... i've DBI installed and
i'm using the PPM ... on the installation requset i get:
PPM> install ODBC
Install package 'ODBC?' (y/N): y
Retrieving package 'ODBC'...
Error installing package 'ODBC': Could not locate a PPD file for package ODBC
--
Hello,
I need to scan a directory and generate a list of its files...
(preferably a txt with all the filenames)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi!
I'm a starter with this subject.
my script is:
use strict;
use DBI;
my $dbh = DBI->connect( 'dbi:Oracle:orcl', 'blah', 'blah',)|| die
"Database connection not made: $DBI::errst
r";
$dbh->disconnect();
when trying to run this i get an error:
DBI->connect(APPS1) failed: ORA-01017: invalid use
rhaps stored by your sysadmin) that is
giving the DBI the wrong ideas?
-Dan
On Tue, 2003-11-11 at 05:14, Anton Arhipov wrote:
Hi!
I'm a starter with this subject.
my script is:
use strict;
use DBI;
my $dbh = DBI->connect( 'dbi:Oracle:orcl', 'blah', 'blah',)
Hi!
With this piece of code
foreach $gif (@files){
@gif_parts = split(/_/,$gif);
print "Inserting into id=$gif_parts[0], name=$gif: ";
# Read file into scalar
open(IN, $gif ) or die $!;
binmode(IN);
my $doc_len = read IN, $doc, $max_len;
close(IN);
print qq{$doc_len bytes\n};
my $tmp=; #
Hi,
i've a string like "BLAH" (guotes included).
i need to control if the BLAH is in uppercase and then if it is in
uppercase truncate the quotes ("), so "BLAH" becomes BLAH.
any solutions?
Thx
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
12 matches
Mail list logo