RE: I/O Question

2006-06-15 Thread Moon, John
-Original Message- From: Doug Adams [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 10:59 AM To: beginners@perl.org Subject: I/O Question I'm a first time perl user, jumping right into cgi on a mac, and I can't for the life of me figure out how to specify file paths other than t

Re: Running Perl from Java (WAS: print Greek small letter alpha in html)

2006-06-15 Thread Mr. Shawn H. Corey
On Thu, 2006-15-06 at 05:01 +, may sandi wrote: > Hi, > > Does anybody know how can run a perl file from java? > I already tried with following command: > > try { > Runtime r = Runtime.getRuntime(); > String cmdLine[] = { "/usr/bin/perl","c:/link41a/linkparser2.pl"}; Is PERL.EXE r

Re: Running Perl from Java (WAS: print Greek small letter alpha in html)

2006-06-15 Thread Mr. Shawn H. Corey
On Thu, 2006-15-06 at 08:20 -0400, Mr. Shawn H. Corey wrote: > BTW, change the Subject when you change the subject. Better yet, start a new thread. -- __END__ Just my 0.0002 million dollars worth, --- Shawn "For the things we have to learn before we can do them, we learn by doing them.

Windows find what apps are opened

2006-06-15 Thread Gallagher, Tim \(NE\)
I have a question about enumerating application that are running on a computer. If I bring up talk manager on a windows computer I have a couple of tabs, one is applications. I want to see what apps are running (not processes) so I can reboot these computers. Is there a way to get all the running

encode(?) string for using it in subject line

2006-06-15 Thread Varga Pavol
Hi, please how to encode (or something else) string to use it for subject for mails? My problem is: my $string = Čo ťa to napadlo? my $string_usable_to_use_in_mail_subject = =?ISO-8859-2?Q?=C8o_=BBa_to_napadlo=3F?= But I don't know how to do it in Perl. Many thanks. -- To unsubscribe, e-mail

Re: encode(?) string for using it in subject line

2006-06-15 Thread JupiterHost.Net
Varga Pavol wrote: Hi, Hello, please how to encode (or something else) string to use it for subject for mails? Use Mail::Sender::Easy and set the encoding as you would a normal Mail::Sender object. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: Getting ip address

2006-06-15 Thread Danny
> Danny wrote: > > Hi list, > > > > I am trying to get the ip address from each of my NIC's (only the ip > > address) from ifconfig and then > > mailing the addresses to a remote mailbox. The problem is that I am making > > one BIG > > stuff-up out of it and I am too embarrassed to post my scrip

Zombi children of a IO::Socket::INET server

2006-06-15 Thread David Schell
I have a server that receives data from a client through a internet socket. When the connection is established, the server forks a process to deal with the connection. The child then reads data from the connection, does some stuff, responds to the client and waits for more data. The child

5.8.2 vs 5.6.1

2006-06-15 Thread Smith, Derek
I will be installing Proc:ProcessTable, IO, Devel-Size, Term-Size and Data-Dumper on a HPUX 11.11 dev system with Perl 5.8.2 Due to out of my control software loads (multiple versions of Perl...YUK! ) we have no standard load processes. My question is considering these modules being loaded will i

compilation of Devel-Size for DataDumper

2006-06-15 Thread Smith, Derek
How can I tell the HPUX 11.11 system to not use it default C compiler /usr/bin/cc but instead use gcc version 4.1.1? I manually edited the Makefile to point CC=/usr/local/bin/gcc but I get the errors below: Do I need an ANSI C compiler? Please advise! Thank you Derek As root:

Re: Windows find what apps are opened

2006-06-15 Thread Dr.Ruud
"Gallagher, Tim (NE)" schreef: > I have a question about enumerating application that are running on a > computer. If I bring up talk manager on a windows computer I have a > couple of tabs, one is applications. I want to see what apps are > running (not processes) so I can reboot these computers

Re: compilation of Devel-Size for DataDumper

2006-06-15 Thread Tom Phoenix
On 6/15/06, Smith, Derek <[EMAIL PROTECTED]> wrote: How can I tell the HPUX 11.11 system to not use it default C compiler /usr/bin/cc but instead use gcc version 4.1.1? If you're compiling a module, use the same compiler that built your perl binary. But that should happen automatically, if you

RE: compilation of Devel-Size for DataDumper

2006-06-15 Thread Smith, Derek
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom >Phoenix >Sent: Thursday, June 15, 2006 3:21 PM >To: Smith, Derek >Cc: beginners@perl.org >Subject: Re: compilation of Devel-Size for DataDumper >On 6/15/06, Smith, Derek <[EMAIL PROTECTED]> wrote: >

Re: Zombi children of a IO::Socket::INET server

2006-06-15 Thread Tom Phoenix
On 6/15/06, David Schell <[EMAIL PROTECTED]> wrote: I have a server that receives data from a client through a internet socket. When the connection is established, the server forks a process to deal with the connection. The child then reads data from the connection, does some stuff, responds t

RE: Getting ip address

2006-06-15 Thread Ron McKeever
This works also just incase you don't have perl installed: # for i in $(ifconfig -a); do echo $i | awk -F "addr:" '$2 != "127.0.0.1" && $2 > 0 {print $2}'; done List ips on system, works on bash, sh, ksh Ron -Original Message- From: Danny [mailto:[EMAIL PROTECTED] Sent: Thursday, June

Re: scoping problem with hash

2006-06-15 Thread Lawrence Statton
Charles Clarkson wrote: > @{ %$hash_ref }{ keys %kv_pairs } = values %kv_pairs; You can excise a little of the snyactic sugar there @$hash_ref{keys %kv_pairs} = values %kv_pairs; -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Lawrence Statton - [EMAIL PROTECTED] s

RE: Windows find what apps are opened

2006-06-15 Thread Gallagher, Tim \(NE\)
What I am looking for is to see what apps are opened not processes. >From processes you don't get a picture of the running apps, just the processes. Timothy F. Gallagher CSC Systems Engineer General Dynamics Account Tel 734-480-5156 Cell 248-320-6881 -Original Message- From: Dr.Ruud [

An array like line that I do not understand

2006-06-15 Thread Alan_C
Hi, I've a flat file database of sorts. Each of the flat file has a keyword line as one of the first nine lines. A keyword line begins with: #: Here's a keyword line: #: building a linux kernel from source The enclosed Perl code uses a hash to store the name(s) of the particular flat file(s