Ronald Warner wrote:
I use the following script to create an activation script in win2k for
user activation:
open(INFILE,$ARGV[0]) or die ERR INSRC;
while ($line=INFILE)
{
chop($line);
print net user $line \/add \/passwordreq:yes /passwordchg:no /expires:never \n;
};
close(INFILE);
I'd like not to get any email from this site any more.
bye
Miri Kim
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
___
ActivePerl mailing list
[EMAIL
From: Hemphill, Barry [EMAIL PROTECTED]
Congratulations Agustin; you get the award for Worst Answer of the
Week.
Wow, will he get a nice diploma signed by TomC ?
- You're assuming he's using DOS, and that a 'type' command would be
found by the shell - Even *if* type is in
I've been wondering how hard it would be to get Perl to fetch data from a
MySQL database and merge it with an MS Word file -- not too hard, I would
imagine -- but I have no experience with the COM or anything like that.
Can anybody suggest some docs/modules that I should look at to get
started?
Barry's award gave me a good laugh. But then Lyubomir shows
that even when the problems are pointed out, some folks just
refuse to read. :-)
I especially like the while loop. Guess he worried about
multiple TITLE tags. Of course it would help in that case
to use the 'g' regex modifier. As it
Please take me off this list
=
Programming Logistics, Inc. GSA (GS35F4599H)
Paul Malinowski
Office: (410) 349-2070
Business: (410) 562-8720
e-mail: [EMAIL PROTECTED]
__
Do You Yahoo!?
Send your FREE holiday greetings online!
David Mintz ([EMAIL PROTECTED]):
I've been wondering how hard it would be to get Perl to fetch data from a
MySQL database and merge it with an MS Word file -- not too hard, I would
imagine -- but I have no experience with the COM or anything like that.
Can anybody suggest some
Dear Sirs,
With this script I am writing data into the file
use Fcntl ':flock';
open (FORUM, name/$name.usr);
flock(FORUM, $LOCK_EX);
print FORUM ($namedat\n);
flock(FORUM, $LOCK_UN);
close (FORUM);
I don't know why some times, my script write nothing into the file also
erase the file's
Dear Sirs,
With this script I am writing data into the file
use Fcntl ':flock';
open (FORUM, name/$name.usr);
flock(FORUM, $LOCK_EX);
print FORUM ($namedat\n);
flock(FORUM, $LOCK_UN);
close (FORUM);
I don't know why some times, my script write nothing into the file also
erase the file's
On Mon, 10 Dec 2001, Jeremy Wadsack wrote:
David Mintz ([EMAIL PROTECTED]):
I've been wondering how hard it would be to get Perl to fetch data from a
MySQL database and merge it with an MS Word file snip
Can anybody suggest some docs/modules that I should look at to get
started?snip
Dear Sirs,
I am using following script to write data into file:
open(DB, name/$name.usr);
flock(DB, $LOCK_EX);
print DB $namedat;
#flock(DB, $LOCK_UN);
close(DB);
But sometimes this script write nothing into file,
also erase all data in the file.
How can I stop this?
On Mon, 10 Dec 2001, Arms, Mike wrote:
snip I would add: The HTML::HeadParser module
is ready built to do what you want. Why reinvent the
wheel (and probably not cover all of the necessary
cases)? snip
I don't know, but I would speculate that a lot of Perl newbies --
particularly those
It is unclear to me why you need to involve Perl. If you have ODBC set up,
you should be able to directly access your data (you might need a
Data-Link abstraction for older versions of Word). If you need processing
above and beyond what Word and MySql can do, then I'd look at doing some
macros.
13 matches
Mail list logo