At 12:28 PM 6/27/02 -0400, Nikola Janceski wrote:
>## this is a structure that contains the exceptions
>our %except = (
> "test1" => [ "stuff to add" ],
> "test2" => [ "more stuff to add" ]
> # etc. for about 4 or 5 more
> );
>
>## [snip to later in the code to some
On Thu, Jun 27, 2002 at 04:54:54PM -0400, Shishir K. Singh wrote:
> > I would always go for Perl TK. But beware!! If you want to use some of
> > the derived widgets...they suck !! eg ..BrowseEntry and DirTree. I had
> > to modify them to bring back some sanity. Bur the best part is it
> > works on
> I would always go for Perl TK. But beware!! If you want to use some of
> the derived widgets...they suck !! eg ..BrowseEntry and DirTree. I had
> to modify them to bring back some sanity. Bur the best part is it
> works on UNIX as well as on Windows.
>Did your patches make it into the main re
I am writing a perl/CGI script that creates a form to get some infomation from
the user, one such item is a directory name. I used 'fielfield' which creates a
ba browse button but it can only access the directory in the users machine but
I want the list of files in the server. The user will not
On Thu, Jun 27, 2002 at 11:02:37AM -0400, Shishir K. Singh wrote:
> I would always go for Perl TK. But beware!! If you want to use some of
> the derived widgets...they suck !! eg ..BrowseEntry and DirTree. I had
> to modify them to bring back some sanity. Bur the best part is it
> works on UNIX a
Jess Balint wrote:
>
> Hello all. I am trying to 'code' an address into a certain format. The
> format is as follows:
>
> first 4 digits of street #
> first 4 street name
> first 2 of address line 2
> first 3 of zip code
>
> The data is a pipe delimited file with the following format:
>
> cons
first off.. I wouldn't be using 'ls' that has gotten me into trouble
especially when people have ls aliased to 'ls -ltr'
use opendir(), readdir() and closedir().
second I am sure that there is a widget or code somewhere that someone wrote
that does what you want. Just look for it, (I don't know w
- Forwarded message from [EMAIL PROTECTED] -
Date: Thu, 27 Jun 2002 14:06:07 -0500 (EST)
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: File selection dialog
To: [EMAIL PROTECTED]
The filefield allows for me to select a file or directory from the users
machine
but I wanted t
>From Laura wrote:
>
> Hello,
Hello,
> I am really a beginner not only to perl but to programming! but here my
> question.
>
> I have 300 files that I need to go thru. Each file has an embedded sql
> query. I want to automatically pull out just the lines that represent the
> query text. I
On Thursday, June 27, 2002, at 11:25 , lz wrote:
> Hi guys,
>
> I need to call shell executable from a perl command,
> and here is what I do:
>
> open CRONJOB, "/home/queue/test.sh|" or die "Unable to
generally I put a space between the 'script' and the pipe
eg:
open(CRONJOB, "/home/que
On Thu, 2002-06-27 at 14:46, From Laura wrote:
>
> Hello,
> I am really a beginner not only to perl but to programming! but here my
> question.
>
> I have 300 files that I need to go thru. Each file has an embedded sql
> query. I want to automatically pull out just the lines that represent
On Thursday, June 27, 2002, at 11:25 , Gbio Qi wrote:
[..]
> t/streamFAILED test 11
> Failed 1/11 tests, 90.91% okay
> t/subs..ok
> t/xp_saxok
> Failed Test Status Wstat Total Fail Failed List of Failed
> --
One advantage of Perl/Tk over Win32::GUI is that you can buy the books on
it. Win32::GUI is a very good idea, but I had trouble finding enough
documentation.
-Original Message-
From: Shishir K. Singh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 8:27 AM
To: Nikola Janceski; s
The filefield allows for me to select a file or directory from the users machine
but I wanted to see a list of files and directories in the server.
I thought I could use the 'ls' command to get a list of files and put it in a
scrolling_list or pop_menu but I do not know how to keep it going,i.e.
You will need to escape the | as \| otherwise won't do what you
think. I checked to make sure.
Wags ;)
-Original Message-
From: Tom Stewart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 11:18
To: Balint, Jess; [EMAIL PROTECTED]
Subject: RE: Regex Help Please!?
Why no
Hello,
I am really a beginner not only to perl but to programming! but here my
question.
I have 300 files that I need to go thru. Each file has an embedded sql
query. I want to automatically pull out just the lines that represent the
query text. I cannot make grep do this task. There are
Hi guys,
I need to call shell executable from a perl command,
and here is what I do:
open CRONJOB, "/home/queue/test.sh|" or die "Unable to
open test.sh command: $!";
Unfortunately, neither tesh.sh executed nor I get
"Unable to open test.sh" error message.
Does anyone know whats the problem is
Hi,
I am install perl module libxml-perl-0.07 downloaded from cpan. My work environment is
perl 5.6.1, OS: Tru64 v5.1, Alpha.
When I perl Makefile.PL make, that is fine, but when I make test, there is error
message which make test failed:
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.6.1 -Ib
I, too, am a Win2K user of perl. As I'm using the ActiveEdge
distribution, I use their perl package manager (ppm) to install modules.
You can invoke the command from a DOS shell using the ppm3 command (if
it's in your path). Use the help command to get more information.
However, it's pretty si
Why not drop it in an array and split it and work with it from there? I am not sure
what your final goal is but this way you can work with each field independently and
check if your address_line_2 is blank.
open(FILE,$file) || die "could not open $file";
while() {
@data = split(/|/,$_);
}
Hello all. I am trying to 'code' an address into a certain format. The
format is as follows:
first 4 digits of street #
first 4 street name
first 2 of address line 2
first 3 of zip code
The data is a pipe delimited file with the following format:
consumer_id|address_line_1|address_line_2|zip_co
On Jun 27, [EMAIL PROTECTED] said:
>How do I incorporate a file selection dialog in a form. I use the CGI.pm to
>create the form. Are there any functions available for that?
perldoc CGI, and look for the heading "CREATING A FILE UPLOAD FIELD".
You want to use the 'filefield' method. Your form
How do I incorporate a file selection dialog in a form. I use the CGI.pm to
create the form. Are there any functions available for that?
Ganapathy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Thursday, June 27, 2002, at 08:47 , Felix Geerinckx wrote:
[..]
> a) parses the email address
> b) look up the MX record for the destination through DNS
> c) uses the SMTP protocol to exchange the message with the
> destination mail server (using sockets).
[..]
hence an advanced MUA borderin
On Jun 27, Nikola Janceski said:
>our %except = (
> "test1" => [ "stuff to add" ],
> "test2" => [ "more stuff to add" ]
> # etc. for about 4 or 5 more
> );
[snip]
>FILE: foreach my $file ( @arrayOfManyManyFiles ){
>
> foreach my $test (keys %except) {
>
RTF is just plan text with a lot of markup, it isn't a binary file like a
Word doc. You should be able to just drop it into a "text" (or is it called
"memo" in MySQL?) field.
Rob
-Original Message-
From: João Paulo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 12:41 PM
To: [E
This is hard I think I need to save a text in rtf format into a
database (mssql)... the problem is what kind of field to use and how to read
back the text without loosing the format...(bold,color,etc,,,).
Does anyone know how to do that? Any idea? JP.
_
I am working on some code that performs several tasks. Some of the items for
the tasks have exceptions.
I have been working on creating data structures to handle these exceptions.
I have been doing pretty well so far with speed (cpu), space (ram) and
non-repeating loops. But I am stumped on my cu
on Thu, 27 Jun 2002 15:31:04 GMT, [EMAIL PROTECTED] (Drieux) wrote:
>
> On Thursday, June 27, 2002, at 07:49 , Brad Fike wrote:
>
>> I, personally have an smtp server but I still want to write a
>> script that does not need it.
>
> actually you want a 'daemon' - not a 'script'
> since to be a
On Thursday, June 27, 2002, at 07:49 , Brad Fike wrote:
> I, personally have an smtp server but I still want to write a script that
> does not need it.
actually you want a 'daemon' - not a 'script'
since to be a 'server' - it will need to come up
connect to a specified port - in this case not t
on Thu, 27 Jun 2002 15:15:04 GMT, [EMAIL PROTECTED]
(David Vd Geer Inhuur Tbv Iplib) wrote:
> Can you please assist. I am stuck on a regex again.
>
> my $dir = "/user/IPlib/and/many/other/dirs";
>
> $dir =~ s!/[^/]*\z!!;
>
> Will make : $dir = "/user/IPlib/and/many/other"; ## so it takes
> o
"Mastering Perl Tk" I guess is the better one!!
-Original Message-
From: Nikola Janceski [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 11:12 AM
To: 'stephane groux'; Joe Echavarria
Cc: [EMAIL PROTECTED]
Subject: RE: Perl Win32 Application.
Why do I get the feeling that I was
> But how do I let it make :
> $dir = "/IPlib/and/many/other/dirs"; ## But now on the first dir
$dir =~ s!^[^/]*!!;
^ = Beginning of the string.
Rob
-Original Message-
From: David vd Geer Inhuur tbv IPlib
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 11:15 AM
To: [EMAIL PRO
Hi,
Can you please assist. I am stuck on a regex again.
my $dir = "/user/IPlib/and/many/other/dirs";
$dir =~ s!/[^/]*\z!!;
Will make : $dir = "/user/IPlib/and/many/other"; ## so it takes off the last dir
But how do I let it make :
$dir = "/IPlib/and/many/other/dirs"; ## But now on the fir
wxPerl looked pretty good, but I never did more than just play around with
it. The thing I like it that it will use the builtin Windows widgets, so it
looks like an ordinary windows app (Win32::GUI will as well).
Here is an article on it, decide for yourself.
http://www.perl.com/pub/a/2001/09/1
I think that if you posted some code, we could give better assistance
with this matter.
--- "Jackson, Harry" <[EMAIL PROTECTED]> wrote:
>
> I retrieve a load of records but because the default linesize means
> that it
> comes out on multiple lines when printing to a CSV. I suppose I
> could
Why do I get the feeling that I was ripped off buying the "Learning Perl/Tk"
book?
This one looks like it has everything in my book plus more stuff that I had
to figure out on my own!
> -Original Message-
> From: stephane groux [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 27, 2002 11
> -Original Message-
> From: Joe Raube [mailto:[EMAIL PROTECTED]]
>
> "set linesize"
>
> is a SQL*Plus command to control the size of an output line
>
> dbi is used for manipulating data from a database, the output is
> controlled by you...
>
> What are you trying to accomplish?
Hi Joe,
Search fro Perl Tk
There's also a good book on it at
http://www.oreilly.com/catalog/mastperltk/toc.html
stephane
Joe Echavarria wrote:
> Hi there,
>
> I want to write a perl application for a win32
> operating system. The application must be using
> windows,forms, the same interfaces
>I would use the Tk module.
>But I think there is also a Win32::GUI module. (or something like that)
I would always go for Perl TK. But beware!! If you want to use some of the derived
widgets...they suck !! eg ..BrowseEntry and DirTree. I had to modify them to bring
back some sanity. Bur the b
I would use the Tk module.
But I think there is also a Win32::GUI module. (or something like that)
> -Original Message-
> From: Joe Echavarria [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, June 27, 2002 9:57 AM
> To: [EMAIL PROTECTED]
> Subject: Perl Win32 Application.
>
> Hi there,
Hi there,
I want to write a perl application for a win32
operating system. The application must be using
windows,forms, the same interfaces like the ones you
get using delphi or visual basic. I mean that the
application can not be a web based or look like DOS
application. Is like connecting p
I, personally have an smtp server but I still want to write a script that
does not need it.
Haven't you ever need to write code that was to be used in an environment
different
then your own?
I will check out your link when I get home tonight.
Does anyone have some example code that they could co
On Thursday, June 27, 2002, at 03:51 , Nigel Peck wrote:
[..]
> However, I have no program on my system called make. I'm running Perl
> 5.6.0 on Win2k. What am I doing wrong or what haven't I got?
Amongst the strategies open is to bring in Cygwin
cf:
http://www.google.com/search?hl=en&i
On Thursday, June 27, 2002, at 07:17 , Brad Fike wrote:
[..]
> What I would like to do is find a module or a script that
> can run like it's own smtp server. (ie there is not one available
> on my network)
this part does not make a lot of sense - since if we are
getting your email - then it woul
On Thursday, June 27, 2002, at 07:01 , Imtiaz ahmad wrote:
[..]
> Using web based tool (CGI) a user selects a folder and once the
> user submits the script1 on the resulting page supposed to have a call to
> another script2. Script2 contains code that takes the folder name
> submitted
> and crea
Hello all,
I know about the net::smtp module and use it.
What I would like to do is find a module or a script that
can run like it's own smtp server. (ie there is not one available
on my network) Does anyone know of a module to do that
or have some code using a lower level module (io::socket)
Thanks for your help.
This tool that I like to build is not accessible to people outside our
office.
Using web based tool (CGI) a user selects a folder and once the
user submits the script1 on the resulting page supposed to have a call to
another script2. Script2 contains code that takes the fo
"set linesize"
is a SQL*Plus command to control the size of an output line
dbi is used for manipulating data from a database, the output is
controlled by you...
What are you trying to accomplish?
-Joe
--- "Jackson, Harry" <[EMAIL PROTECTED]> wrote:
> Ho do you
>
> set linesize 1000;
>
> -Original Message-
> From: Jackson, Harry [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 27, 2002 9:35 AM
> To: '[EMAIL PROTECTED]'
> Subject: Perl DBI and Oracle
>
>
> Ho do you
>
> set linesize 1000;
>
> using dbi for Oracle. I have tried inserting it before the "select"
> stat
Ho do you
set linesize 1000;
using dbi for Oracle. I have tried inserting it before the "select"
statement and putting it in its own "prepare" statement but neither have
worked. Google has got very little on this when I searched for it. I would
appreciate a decent link to how to do this sort of
On Wed, 26 Jun 2002, Craig Hammer wrote:
> Have you ever tried to wade through The Silmarillion?
>
> Craig Hammer
As a matter of fact, I just bought and started reading it yesterday. I
didn't yet get any further than Cristopher Tolkien's introduction :-)
I do expect to like it though, as I also
Hi Nigel.
What you are looking for is something that would be distributed in a
compiler package. There are different routes you could follow here, one
being MS, another Open Source packages
If all you need is the make program itself, here is one place to get such a
program:
http://www.gnu.o
Please excuse the stupid question but I'm trying to get my head round
too many things at once and I could do witha quick explanation please.
I'm trying to follow the
perl makefile.pl
make
make test
make install
However, I have no program on my system called make. I'm running Perl
5.6.0 on Win2k
Hi,
ok, so let's build a house of cards, and see how it holds up in the
hurricane known to us all as The Net. ;)
Are you really sure that this is the way you want to do this? I'm just
considering the side effects, like security for instance.. Then there's also
data integrity and such..
In any c
Hi-
Is it possible to pass a variable to a PERL script within a PERL script and
then execute the PERL script?
For example, lets say we have a web page that allows you to copy files from
one machine to other.
And, if a user select the file to be copied then the file name and path goes
to a PERL sc
56 matches
Mail list logo