--howdy:
--wouldn't it be better if you went to http://www.sunfreeware.com
--and snagged a compiler (gcc works, i believe) - i'm sure you'll use it
--for other stuff in the future anyways ...
--*shrug*
--just my $0.02 cents ...
-X
-Original Message-
From: Witzke, Rob [mailto:[EMAIL PR
Howdy:
I'm running Perl 5.8.x on RHEL ver. 3 and I am
trying to connect to Oracle 9i (both
the database and the Application Server's
repository).
With Perl 5.6.1, I used DBI and Oracle:DBD
and things worked well, with Perl 5.8.x, the
readme docs for the DBD module says that it
is incompatible wit
Howdy:
I'm trying to install 5.6.1 on RHEL version 3
from source. After looking at google for some problems
related to the and command errors, I get to
the point where I need to make / make test.
At the end, I get the following error:
[snip]
DB_File.xs: In function `ParseOpenInfo':
DB_File.xs:
--belay that last transmission - i
--*have* to roll back to perl 5.6.x.
--sorry to jump the gun.
-X
--original post--
Is there a version of Oracle:DBD that will compile
with 5.8.0 or do I have to rollback to 5.6.1?
Howdy:
I have been trying to install Oracle:DBD 1.14 or 1.15
with perl 5.8.0 and after adding different paths to
compensate for the missing Config.pm, et al, it
finally said, '... this isn't 5.6.0' and the process
stopped.
Is there a version of Oracle:DBD that will compile
with 5.8.0 or do I hav
Howdy:
Is there a perl module that can change the modified
date of a file in Windows (or, Linux)?
On my Linux box, I'm testing the 'touch -m' method,
but it isn't working very well. I have no idea
what there is for Windows. Perhaps there is a perl
method instead?
Thanks!
-X
Howdy:
Not sure if this is a duplicate message - sorry in
advance if it is.
I want to use Perl to connect to an Oracle 9i database
on Windows 200x and have installed DBI v. 1.37
on my NT workstation. I am getting a message like so when
I run the script:
[snip]
"The procedure entry point slcvs2
Howdy:
I want to move my perl script from Linux to Windows NT.
The Linux script connects to Oracle via the DBI modules I
have installed. I want to do the same on NT, but I'm not
sure if the connection strings / values are the same.
In the linux script:
[snip]
use strict;
use diagnostics;
use DB
Howdy:
I'd like to get a list of files in a directory and
also in it's subdirectory - but I don't know how
far the subdirectory goes.
I can do a directory like so:
[snip]
#my $localdir=cwd;
my $localdir="/ddrive/db2_text/";
chdir $localdir;
opendir (DIR, $localdir) or die "can nae access D driv
Howdy:
I think I've seen it, but I don't know where -
Isn't there a method to use Perl to connect to
some MS Access database and extract the
data into some other format (say, text). I've
done it with Oracle and PostgreSQL ... I don't
know if MS Access is too different (mostly because
I live and
--howdy:
--not sure i follow, but i have a few questions for
--you:
* you want to connect to the database and do, what,
exactly? show the data in html?
* you have a list of people in the database, perhaps,
that you want to email? what platform? not that
it really matters ... windows, linu
Howdy:
I have a statement and I'm trying to see if
I understand what it is really is doing (not my code).
The code does this:
[snip]
result ~ '^ *-?[0-9]+[.]?[0-9]* *\$'
[/snip]
I break out the meaning as this:
[snip example]
^ = beginning of line plus a white space
*- = everything up to,
Howdy:
Sorry for posting, but I couldn't get much
info from the PostgreSQL group. I have a
question about the Oracle to PostgreSQL
perl script (ora2pg.pl).
Running PostgreSQL 7.2 and Oracle 9.2.0.1
on RedHat Linux 7.2.
I'm trying to use the Ora2pg.pl script that
I found on the PostgreSQL si
Howdy:
I have a script where I connect from Oracle 9 to
PostgreSQL 7.2.x and insert new records. It seems
to work for about 200 or so records, but, fails
(I was able to capture this message)
[error]
Uncaught exception from user code:
Placeholder :0 invalid, placeholders must be >= 1 at
/
Howdy:
I'm trying to find the best solution for breaking
out of a loop when editing a list of files.
I have a script that:
* gets a list of files
* opens the files with a 'foreach $f(@list)'
* does a 'while <> { ... } close (FILE)'
The script works, but if I run it, it loops
continually and ed
Howdy:
Is it possible to use regex to replace
the first n characters of a line?
There are no unique markers or items
to map by in these files ... some lines could
start with number or whatever (special
characters, white space, alpha, etc).
If so, how?
Thanks!
-X
Howdy:
I am trying to return an array of
all records in the subroutine below.
I want to hold all of that info
in one location so that I can use
it (each row and each column of said
row) later in a program.
In the $sql part, I had the 'selectrow_array';
as was noted to me in another email, it re
Howdy:
With the PostgreSQL DBI, you can get a
number of tuples (with ntuples) from
some previously SQL query.
For example, I have :
[snip]
use Pg;
.
.
.
sub getcols {
my($table)[EMAIL PROTECTED];
return doquery('find rows',"
SELECT a1.attname,
a1.attnotnull,
a1.attnum,
t.typname,
a1.
Howdy:
I'm looking for information that will let me
open an ftp connection and grep / search
for files and then FTP them back to me.
I saw something about FTP and macros, but
the other articles about Net::FTP got me to
believe you can do this with Perl. If so,
is Net::FTP the route the go?
Is
--Howdy:
--Sorry, I should have added more detail in
--my reply. When I did the posted suggestion,
--I only got one column, but if I ran the SQL
--by hand, I got them all.
--But in the example below, you list out the
--variables and then get the entire row.
--I thought I could just pull in the
-
--Thanks for the reply:
--I think I'm well on my way, but, I'm looking
--at the results and the 'Programming the PERL DBI'
--book and it says that selectrow_array returns the
--value of the first field.
--selectall_arrayref and selectcol_arrayref
--doesn't seem to help.
--how can I return all o
Howdy:
I have a script where I want to
* connect to database
* create a subroutine where it executes
and returns the value of the SQL
* pass that value to another area
to check and IF statement
* continue with program
I am having problems trying to figure out
if the SQL is actually being p
Howdy:
I am running PostgreSQL 7.2.1 on RedHat Linux.
I would like to get information from my
tables that include index, primary keys, sequences,
etc. I see that there is a module DDL:Oracle that
does this, but is there one for PostgreSQL? (I'm
using DBI-1.37 for most of my work).
Thanks!
-X
Thanks for the reply.
I will try that (modifying the for loop).
I also tried to figure out if it was
just the loop, or the replacement text
that was giving me problems.
For example, I changed my $new_ptrn to
equal 'foo' and things worked okay.
When I changed the $new_ptrn to equal
'character var
Thanks for the reply:
Are you sure that the problem isn't in the 'for' loop?
It seems odd that I have eight files in the directory
and eight counts of the (100) at the end of the lines.
I am going to try something with the for loop and see
if that gets me anywhere.
Thanks again for that shorter
Howdy:
I have a script where I'd like to open a
bunch of files, search for a pattern and
replace it with another.
What I am getting is not quite what I expected.
I get almost everything, but I'm getting a
bit more at the end.
[snip script]
#!/usr/bin/perl -w
use strict;
use warnings;
use diagn
Howdy:
First off, many thanks to all (esp. R. Dixon and T. Lowery)
for the help with the 'using table_info()' thread.
I'm just about done with that script, but I have
one tiny problem.
In my SECOND while loop, I place a comma (,) at the end
so that when the *.ddl files are built, it looks
just
Howdy:
I would like to use the table_info() method for getting
database / table metadata from a database. In this case,
PostgreSQL 7.2.x.
I am reading the "Programming the Perl DBI" book and
I am using the following for my script to get a list of
tables and get *some* information.
[snip]
#!/usr
Howdy:
I am trying to write a script to get table
info from PostgreSQL. Basically, I want to
generate a list of tables from a sub function
and pass that and then use that returned
variable and put it inside a NEW sql loop
and create more output files based.
My problem is (and I'm sure there are a
Howdy:
I am trying to re-install the Oracle driver
for perl and run a script to connect and
select from the database.
I think I installed everything okay, but
I am having the following problems:
When I run the test.pl in the DBD-Oracle-1.14
directory, I get:
[snip script]
[EMAIL PROTECTED] or
Howdy:
At the risk of sounding silly, does anyone know
of a way to export data from PostgreSQL to
Oracle via perl featuring DBI?
Background:
I'm running PostgreSQL 7.2.1 on RedHat Linux 7.2
and I have Oracle 9i on the same box. PostgreSQL
is dying and the tool to dump the data (pg_dump)
no long
column
names) and users ... but i missed the tablenames.
--that's what i have so far.
--suggestions? thanks!
-X
-Original Message-
From: K Old
To: Johnson, Shaunn
Sent: 6/17/03 10:56 AM
Subject: RE: example of placeholders
Shaunn,
Can you give a description of what you are trying to do
--howdy.
--i think i am getting closer to solving this, but
--i have ran into a problem.
--the below program works to the point where it
--will return the data, but not ALL of the data.
--for example, i get only about 50 or so lines when
--if i do the queries by hand, i get over 200 with
--diff
--this in a two or three step process.
--thanks again!
-X
-Original Message-
From: Robin Norwood [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 4:31 PM
To: Johnson, Shaunn
Cc: beginners_perl (E-mail)
Subject: Re: examples of place holders
"Johnson, Shaunn" <[EMAIL PR
Howdy:
Can someone give me an example of using
place holders with the DBI module?
I am trying to use the results of one query
and embed that into another query later. For
example: the result of the first query
(say, select distinct user_name from t_table)
should go into the second (say select ta
--hrm.
--would
use Cwd;
--work for you? i know that i had
--silly problems like this and decided
--it try that just to make sure i was
--where i *thought* i was directory wise ...
-X
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 1
now how it
--goes.
--thanks again!
-X
-Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 2:06 PM
To: [EMAIL PROTECTED]
Subject: Re: faster way to remove characters?
From: "Johnson, Shaunn" <[EMAIL PROTECTED]>
> I have thi
Howdy:
I have this bit of code (below) and I'm wondering
if there is a quicker way to remove
some odd-ball characters from very
large text files (large would be about the
200M or so).
[snip code]
#!/usr/bin/perl
#$_ =~ s/\cM\n/\n/g;
while (<>) {
$_ =~ s/(\cM\n|\\|\~|\!|\@|\#|\$|\%|\^|\&|\
Howdy:
This is probably a silly question. Let's say
that I want to pull data from a remote database
(say, NT or Mainframe).
For DB2, am I to understand that I need to
install client software package, connect to
that client and THEN run the perl DBI::DB2
mods to get data from the remote DB2
server
--Rob
--Thanks for your script! Looks like it works like
--a champ!
--However, I don't have a clear understanding
--as to *how* it works. Specifically, how is the
--'build regex' being applied inside the SQL?
--I mean, how is it getting IN there?
--I'm looking at it and I don't fully grok the
x27;t know *why* it's not printing
--anything and not returning an error.
--any thoughts?
-X
-Original Message-
From: WC -Sx- Jones [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:56 PM
To: [EMAIL PROTECTED]
Subject: Re: problem opening file inside for-loop
On Wednesday, May 2
Howdy:
I have a script where I would like to connect to
my database (PostgreSQL) and do a dump
depending on what day it is. I'm having
problems trying to figure out why I either can't
open a file to write to it inside the loop, or, if
I create a file outside of the for loop, nothing
is written i
Howdy:
Is there a way to parse out characters that somehow
wind up in an ASCII file. For examples, I have data
that appears to have those wingding characters
further down. I don't know all of what's in there, but
I can not use the file unless I get rid of them.
How do you identify them and rem
Does anyone know if it's possible to create
symbolic links on an NT platform in Perl?
Some history: I have an NTFS mounted on
a Linux box and have created a few symbolic
links to a few directories to work on a project.
Works fine, lasts long time.
Now, I have to point the link to another
NT file
Howdy:
Running perl v5.6.0 on RedHat Linux 7.2.
Is there a perl module that can help me
convert a few thousand html files into PDF
files?
Currently, I have a program called 'htmldoc' and I can script it so
that I convert the html files into PDF, however, the
font size doesn't seem to carry over
Howdy:
I am not familiar with using 'if' in a script and I have
come across a list of new scripts that I now
have to learn / maintain. In most of the scripts,
there are things that begins with if (0).
Say, for example:
--[code]
if (0) {
$path="$dest/new_local";
makepath ($path);
&first(1);
}
--thanks for the reply:
--at this point, i'm still trying to figure out
--how to find NEL. the ASCII chart says the following:
[snip]
DEC HEX OCT EDTTPU CHAR DESCRIPTION
10 00A 012 L/F CTRL-J LFline feed
13 00D 015 C/R CTRL-M CRcarriage ret
Howdy:
I have a text file that I'm trying to use, but, it has control characters
at the end.
[snip]
test.txt: ASCII text, with very long lines, with NEL line terminators
[/snip]
I've tried to use 'sed' and 'tr' to remove NEL and just have
an ASCII text. I've even used dos2unix, but that doesn
--i've tried that, but, this is the results from that:
[snip]
/i/Depression Management/Mailing/test/03
/i/Depression Management/Mailing/test/04
/i/Depression Management/Mailing/test/05
/i/Depression Management/Mailing/test/06
ls: /i/Depression: No such file or directory*** this is breaking **
Howdy:
I thought that this worked, but, I have a script where
I try to get a list of file names that have spaces
and do something with those files (in this example,
I'm making ISO images out of them).
The problem is, the first step is to create a sub-directory
in a path that have spaces in the na
Howdy:
I'm having problems trying to parse out part
of a directory into variables.
I start with this:
[snip script]
/usr/local/bin/perl -w
use diagnostics;
my $dest="/i/'Depression Management'/Mailing/dec2002_iso_images";
# Where is data coming from?
my $source="/i/'Depression Management'/Ma
Howdy:
Are there any perl-related scripts / apps to check a Linux system
for attempted break-ins, password cracking, general hacking,
ip spoofing, etc?
Thanks!
-X
--Looks great!
--Thanks!
-X
-Original Message-
From: Wagner, David --- Senior Programmer Analyst --- WGO
[mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 12:40 PM
To: Johnson, Shaunn; [EMAIL PROTECTED]
Subject: RE: Last Wednesday of Month
I took at the doc and it
Howdy:
Can someone clue me in as to how I
can get the last Wednesday (or whatever)
of the month?
I have an example of what *might* work, but
I'm not sure how I can use it if, say, there
are five Wednesdays in the Month.
[snip from code]
#!/usr/bin/perl -w
use strict;
use warnings;
use Dat
--Howdy:
-- // This is mostly for archives sake just in case I forget how //
-- // I did this //
--To recap, the purpose of this exercise was to create a few date variables
to use
--in an SQL script. I wanted the dates to have a 3 months span every time
--I run the script (which would be once a
1/2002)
freq fliers end run is 10/08/02 # --- i want this to be 10/31/2002
[/snip results]
--sorry for not being clear.
--thanks again!
-X
-Original Message-
From: Johnson, Shaunn
Sent: Friday, November 08, 2002 5:55 PM
To: 'Beau E. Cox'; [EMAIL PROTECTED]
Subject: RE: set
to change the
--two digit year into a 4 digit year. is there a method
--while using, say, Date::Manip, to change the results
--from 08/08/02 to 08/08/2002?
-X
-Original Message-
From: Beau E. Cox [mailto:beau@;beaucox.com]
Sent: Friday, November 08, 2002 4:25 PM
To: Johnson, Shaunn;
Howdy:
Silly perl question:
I have a script where I'd like to set three date variables and pass
them along in some sql script, but I'm having a problem trying
to define the date variables using localtime().
[snip example]
#!/usr/bin/perl
use strict;
use Date::Format;
my @lt = localtime(time);
Howdy:
This may be a DB2 question; if so, let me know and I'll
send the question there -
I have a script that connects to the mainframe and generates
a flat file with data that I want. Works fine for what I'm
doing.
But now I want to create the outfile in an IXF format, somehow.
I'm looking at
Howdy:
Can someone tell me why I keep getting the errors:
[snip error]
D:\PERL\BIN\MY_SCPTS>db2_test1.pl
syntax error at D:\PERL\BIN\MY_SCPTS\db2_test1.pl line 35, near "my"
Global symbol "$sth" requires explicit package name at
D:\PERL\BIN\MY_SCPTS\db2_
test1.pl line 35.
Global symbol "$sql" requ
--Howdy:
--I've installed ActiveState 2.1.6 on Windows NT serv. pak 6.
--I'd like to install a few modules with the ppm too, but
--it doesn't seem to be working. As I understand it, all I
--should have to do is :
[snip]
ppm>install DBI
pmm>install DBD-Oracle
[/snip]
--my error is this:
Howdy:
I'm trying to install the DBIx-Connect-1.7 on RedHat Linux 7.2.
My goal is to connect to DB2 on MVS / 390 (which is
running DB2 6.1.x).
When I try to run the 'make test', I get the following error:
[snip error]
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/per
Howdy:
How do I access a DB/2 database from a perl script?
I have DB/2 version 6.1.1 on an MVS mainframe and I'm
trying to connect from a RedHat Linux box. I imagine that I
need the DBI modules, though.
What else do I need to connect to the mainframe database?
What syntax do I use?
Thanks!
-X
Howdy:
Correct me if I'm wrong, but isn't there supposed to
be a way to have perl modules installed on your
system via some network / internet script? If so,
how can I get that info?
Thanks!
-X
Howdy:
Just got an odd call today. A client (who works on
a Microsoft platform) wants to have a MS Access
table created for him on a monthly basis from
my warehouse.
The warehouse is a PostgreSQL database on a RedHat
Linux platform.
My question: Is there something in Perl that will
allow me
Howdy:
Trying to figure out exactly what my program thinks
the problem is, but perhaps I need a fresh pair o' eyes.
My goal: To do a basic query (count) against a database,
get that number for each column I count and put those
numbers into a new table, each under it's own column.
Background: R
--thanks all (chris, jeff, nikola)
--jeff: your suggestion worked like elfin magick. thanks!
--(note: i had to do this twice ... in the search pattern
--i forgot the "$" in "newpattern" ... oops.)
--anyways ...
-X
-Original Message-
From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]
Howdy:
I know this should be pretty simple, but I must
be missing something in my code. I want to do
the following:
* get a list of files in a directory
* open each file
* search and replace the old pattern to a new pattern
(should only be one occurrence)
* close file
* close dir
* do next one
Howdy:
Perl / DB question -
I am running a PostgreSQL database and would like to
count and sum tables and put that data into a new
table for trending.
I have a perl script that connects to the database and
can do (I *think* this part is working) three separate
queries, but now that I have th
Howdy:
I'm trying to do the following (which may have
been created already) in perl:
* create two variables
var1 = this will be sunday of current week always
var2 = this will be saturday of current week always
I'm not sure how I can use 'localtime' as a tool
for identifying var1 and var2.
I m
figure out exactly
what the DOS files want (including the "\" and spaces) and
mount them as-is?
--I apologize if the explaination isn't crystal clear. If I need
to go into more detail, please let me know.
--Thanks!
-X
-Original Message-
From: drieux [mailto:[EMAIL PROTECT
-Thanks!
-X
-Original Message-
From: drieux [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 5:27 PM
On Thursday, May 30, 2002, at 01:40 , Johnson, Shaunn wrote:
> Question about capturing a file name with
> spaces using regular expressions.
[..]
> The output looks lik
Question about capturing a file name with
spaces using regular expressions.
What I'm trying to do is get a list of files
and then only print the file names from the path.
I would use the readdir option, but that returns '.'
and '..'. I've also heard about FILE: BASENAME(I think
it's called tha
Howdy:
I know this is WAY out in left field, but I am
trying to figure out how I can bring back a
numerical value and evaluate it so I can do
something else.
So, this is what I'm doing: I connect to the
database, get a count of records and bring
back that number. At least it looks good on
pap
Howdy:
I think I need a second pair of eyes. I think
I'm close with creating a trending line graph, but
I can't figure out what part goes where and
why I can not see anything useful.
My goal:
I am trying to connect to the database and pull back
6 fields (5 regions and 1 timestamp) and chart t
Howdy:
Have a question about trying to pass the result
of a sub function to another sub function.
Let's say I have some code like this:
[snip]
sub firstPart {
while (<>) {
print "Stuff here is: $_\n";
}
[/snip]
I'd like to know how can I make $_ available
for OTHER su
Howdy:
I'm looking for examples of how to use element 0
in one array as a search pattern and looking in
other arrays for that pattern. Here's what I have
so far ...
[snip code]
#!/usr/bin/perl -w
use diagnostics;
# test to read two files into two arrays
# do a search for each *FIRST* element i
Howdy:
Still looking for examples / pointers ...
I am still butchering a page where I
connect to the database and get a list
of tables. That works -
My goal is to figure out how to select a
table and update the Description / input
comments for the table (and maybe - being
SUPER ambitious - a
Howdy:
Just wanted to say thanks and post what I
finally came up with in the code (for the first
part of what I'm trying to do, anyways ...)
Will have to edit; I'm not even using the start_form
sub query ... figured this was as 'bare bones' as I
could make it.
(*special thanks to elaine a., br
Howdy:
Silly question time:
Running RedHat Linux 2.4.7 rel. 10 and
Perl 5.6.1.
I think I installed the DBI module correctly
and I'd like to use it. But I keep getting
errors like:
[snip]
DBD::Pg installation failed: Can't locate object method "driver" via package
"DBD::Pg"
[/snip]
So my q
Howdy:
Running Postgres 7.1.3 on RedHat Linux 2.4.7
and Perl 5.6.1.
My goal is this:
I am trying to put a perl / cgi script
together to display a list of tables
I pull back from Postgres. I would
like to put the table in a scrolling
menu form page.
So far I have this:
[snip code]
#!/usr/bi
ch will need installing
on win98
look at the Windows 98 bit and you see what you need to install first
http://www.activestate.com/Products/Download/Get.plex?id=ASPNPerl
joel
-----Original Message-
From: Johnson, Shaunn [mailto:[EMAIL PROTECTED]]
Sent: 18 March 2002 14:53
To: [EMAIL PROTECTED]
Original Message-
From: Jenda Krynicky [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: file names with spaces in perl
From: "Johnson, Shaunn" <[EMAIL PROTECTED]>
> I'm having a problem with tr
Howdy:
I'm having a problem with trying to get
a list of files with spaces in them.
I'm writing a perl script that goes into
a directory, get a list of files with spaces
in them (this is a file.doc) and run a
mkisofs command against it.
I can get a list of the files:
[example]
$debug=2;
forea
Howdy:
My management is thinking about signing up the department
for Perl classes (maybe introduction to Perl).
Is there a list / company that has such a site? I went to
Perl.org and did a search and didn't see much in the
way of Perl classes and criteria.
Any suggestions?
Thanks!
-X
--howdy:
--maybe i'm not following this, but,
are you saying 'du -sk /directory'
doesn't do what you want?
--grant it, this is a perl mail list, but
does things really have to be that complicated?
-X
I don't reach understand how I could obtain the size of a given
directory and all the sub-dir
--howdy:
[snip]
--X: i did think about that, but then figured i'd be going way
off topic, so i just answered the question and continued lurking ...
if the script died for whatever reason, the sleep wouldn't help would it?
--X: and very nicely, too. (at least, it works for my linux servers)
i'
--you could run a script a few ways, but, for cron, you
could do something like:
[example]
0,5,10,15,20,25,30,35,40,45,50,55 * * * * sh /home/shaunn/scripts/reminder
[/example]
--but that seems just as strange as, say, putting a 'sleep' clause in
one of your scripts. i'm sure there is a way
Howdy:
You're not talking about something like THIS, are you?
[snip example]
open DATE, "date +%H:%M";
$date=;
chop $date;
[/snip example]
And as I look at it, I'm thinking that might not be right.
I just modified this (like two seconds ago from this:
[snip]
open DATE, "date |";
$date=;
ch
Update:
I think I may be closer than I thought!
In the original code, I *thought* I was
bringing back the entire select output.
I *believe* I was only bringing in one row.
I am trying to recreate it by testing from
another table. It brings the first row; but
now, the 'fetchrow' part of it *s
Hi again:
This is my first attempt at trying to pull info from a
database ... but this is my goal:
A few days ago, I was having problems emailing a list of
users ('documentation about perl / email' ... thanks to
Brett and Jenda for the pointers) and I got to thinking,
"Why not go directly to the
n't working for me at all.
-X
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 11:37 AM
To: Johnson, Shaunn
Cc: [EMAIL PROTECTED]
Subject: RE: documentation about perl / email
On Wed, 12 Dec 2001, Johnson, Shaunn wrote:
> --i
Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
On Wed, 12 Dec 2001, Johnson, Shaunn wrote:
> [excerpt]
>
> In string, @server now must be written as \@server at ./email_sys_users.pl
> line 17, near "@server"
> In string, @bcbsm now must be written as
just '\' isn't the answer. so ... i
must be missing something.
--the docu also says something about -oi stops sendmail from
thinking the '.' is the end of message.
-X
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
On Wed, 12 Dec 2001, Johnson, Shaunn
Howdy:
Where can i find documentation about using email
addresses in perl scripts?
I believe this has to do with regex, but I'd like
to read it for myself. Not finding much but flames
at the FAQ sites ...
TIA
-X
Howdy:
It seems that this would have been brought up a few
times, but, is there a script in around to create
multiple unix accounts? Rather, I have a lot of accounts
to create and I don't want to go over them by hand every
time a batch of request comes in.
It's not so much the logic of the scri
--Howdy:
--This is what I wound up using:
[example]
open (FILE, "+) {
s/(\d+)$/0$1/;
print;
}
close FILE
[/example]
--The interesting thing is that if I have a decimal
in there, it puts the zero in front of the decimal,
but not the whole number. I'm not sure why, but for
now
--Howdy all:
--I *DO* want to replace every
occurance of each value in the last column
with a zero before it ... not just a single diget.
-X
> -Original Message-
> From: Bob Showalter [mailto:[EMAIL PROTECTED]]
>
>
> > -Original Message-
> > From: Adam Turoff [mailto:[EMAIL PR
Howdy:
I must be going about this the wrong way. I'm trying
to modify a script and concatenates text files into
one large file. That works.
There is a part where inside the text file are six
columns. The last column is what I need to edit.
It's alpha_numerical. I want to edit the sixth
colum
--oops! sorry.
--the example i MEANT to send was this:
[example:]
open (INFILE, ">infile") || die("die trying: $!");
print INFILE `/usr/bin/psql -U web -f /home/make.test database`;
if ($web) { open MAIL, ">-"; }
else {
open MAIL, "|/usr/lib/sendmail" || print "nope, can not send mail\n";
$a
1 - 100 of 105 matches
Mail list logo