Need help on perl graphical interface

2003-11-05 Thread Pandey Rajeev-A19514
Hi, I don't know anything about perl graphics. I would explain excatly what I want. I want to develope a interactive graphical interface which can display all the nodes in a network in a tree representation. I should be able to draw that tree upon reading a data base (or real time data). I sho

Re: Is foo qw (arg1 arg2) equivalent to foo (arg1, arg2)?

2003-11-05 Thread R. Joseph Newton
Dan Anderson wrote: > I've noticed that in code examples something like the following will be > used: > > use Data::Dump qw(dump); > foo->bar qw(foo bar); > > (Syntax may not be 100% correct). > > Am I correct in assuming that if I have a subroutine foo (or method if > called with a package name),

Re: searchable webpage

2003-11-05 Thread R. Joseph Newton
Desmond Coughlan wrote: > Hi, > I know that this exists already, but I can't find any code to pinch on the > web. :-( > > The thing I want to do, is to create a searchable index on a webpage. It's > a spoof newsgroup designed to take the piss out of someone on an Internet > group. The address i

Re: Why is parsing your own form data a bad idea?

2003-11-05 Thread R. Joseph Newton
Wiggins d Anconia wrote: > I suspect your comment about wanting "%POST and %GET" has more to do > with the 'and' than the values on either side. If my assumption is > correct and you are passing *both* values in the content body and in the > url header then I believe you are forming a non-standard

Re: Why is parsing your own form data a bad idea?

2003-11-05 Thread R. Joseph Newton
Dan Anderson wrote: > > If you explain why you need the %POST and %GET hashes specifically maybe we can > > help you do it the best way. > > So whjat are you trying to accomplish with those hashes? > > Well it's mostly just readability of the code. GET and POST do not in any way add to the reada

Re: Reading and from more than one filehandle / memory question

2003-11-05 Thread R. Joseph Newton
[EMAIL PROTECTED] wrote: > This is my first attempt. My misunderstanding was in the fact that I could > put the filehandles inside another filehandles while loop. > > #!perl > use strict; > &read_the_files; > sub read_the_files{ > print "\nread_the_files";# > my$file1 ="./file1.txt"; > #contents

Re: Top-posting

2003-11-05 Thread R. Joseph Newton
Paul Kraus wrote: > My company uses outlook. > Every other public forum I write to is all done like this. > Outlook defaults to this. ...and Microsoft has all our best interests at heart? > You would think that the world was going to end because somebody was > upset they didn't get to scroll th

Re: Top-posting

2003-11-05 Thread R. Joseph Newton
Rob Dixon wrote: > Scott E Robinson wrote: > > > > Randal wrote: > > > > > > Scott E Robinson wrote: > > > > > > > (And, sorry for the top-posting. I haven't figured out how to fix that!) > > > > > > Uh, press the down arrow about a dozen times. How *hard* is that? > > > > Lotus Notes adds a hea

Re: science computers perl egos.... ....and the universe.

2003-11-05 Thread R. Joseph Newton
rp_29 wrote: > Once upon a time in a western land... ...in short: you gotta have a honey > trap !!! Thanks, I think you have hit some nails on the head for a lot of people. Why do we find ourselves drawn to geekery? Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: How do I tell if a module exists?

2003-11-05 Thread Steve Grazzini
On Wed, Nov 05, 2003 at 07:39:37PM -0500, Dan Anderson wrote: > How can I tell whether or not a module exists, and what > version it is? There's no iron-clad rule, but the convention is for modules to put it in the package variable $VERSION. sub UNIVERSAL::require { my ($module, $versi

Re: How do I tell if a module exists?

2003-11-05 Thread david
Dan Anderson wrote: > How can I tell whether or not a module exists, and what version it is? > i.e. do something like if (defined CGI.pm). I want to make sure all my > users are running off of the same modules. during runtime or when you preparing to install your module? something along the li

How do I tell if a module exists?

2003-11-05 Thread Dan Anderson
How can I tell whether or not a module exists, and what version it is? i.e. do something like if (defined CGI.pm). I want to make sure all my users are running off of the same modules. Thanks in advance, Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Why is parsing your own form data a bad idea?

2003-11-05 Thread Tore Aursand
On Wed, 05 Nov 2003 17:22:10 -0500, Dan Anderson wrote: > So I got so far with my own creation and am wondering if it should be > given the axe or continued. Axe it. Really. There is absolutely _no_ reason why one shouldn't use the CGI.pm module. -- Tore Aursand <[EMAIL PROTECTED]> -- To u

Re: Training in the Middle and Far East

2003-11-05 Thread R. Joseph Newton
Sudarshan Raghavan wrote: > Rob Dixon wrote: > > > > Can't speak for the entire asian region (only India and Bangalore in > particular), the training, experience and knowledge I guess is as varied > (ranging from "in-depth" to "superficial") as anywhere else in the world. > > ... > > From my limi

Re: help building hash on-the-fly?

2003-11-05 Thread Tore Aursand
On Wed, 05 Nov 2003 15:23:49 -0700, McMahon, Chris wrote: > But an array doesn't suit my needs. What I really need is a > hash where each item in the directory is a value associated with a key that > is a number 1-n such that I could issue a print statement that would show > something like (to ove

Re: Why is parsing your own form data a bad idea?

2003-11-05 Thread Wiggins d'Anconia
Jeff 'japhy' Pinyan wrote: On Nov 5, Wiggins d Anconia said: I suspect your comment about wanting "%POST and %GET" has more to do with the 'and' than the values on either side. If my assumption is correct and you are passing *both* values in the content body and in the url header then I believe y

Re: Where is editor that will Indent my perl code?

2003-11-05 Thread Dan Anderson
Emacs running in CPerl mode does it pretty well. But Emacs has a steep learning curve and you have to install CPerl mode (it's not the default). -Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: printf? RE: help building hash on-the-fly?

2003-11-05 Thread Wagner, David --- Senior Programmer Analyst --- WGO
McMahon, Chris wrote: > Hi Wags... > So now an idle style question, if you don't mind... > > This syntax seems pretty obscure to me (I had to look up what printf > was doing): > > printf "%3d $file\n", $MyId++; > > It's efficient and all, but isn't this more readable for the sa

Re: Why is parsing your own form data a bad idea?

2003-11-05 Thread Phil Schaechter
> > > hack around it I suspect you could pull out the POST data, then grab the > > > actual full URL then pass it back through CGI's private methods to grab > > > the data that is there also and combine the two... > > > > If it comes to the point where you need to "hack around" > > CGI.pm, I'd say

Re: Where is editor that will Indent my perl code?

2003-11-05 Thread R. Joseph Newton
"Randal L. Schwartz" wrote: > > Hence, the maxim: "Nothing can parse Perl but /usr/bin/perl". > Hmmm, that's strange. Until a couple of days ago, I had no usr directory anywhere on my system, yet the Perl interpreter seems to work just fine. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Surpressing concatenation with null warnings

2003-11-05 Thread R. Joseph Newton
Richard Heintze wrote: > > I think what you want is this: > > > > no warnings qw(uninitialized); > > > > Would I put this immediately after "use warnings;"? I would recommend against it, unless you are intending to keep all your programs very small. Any change to basic browser/interpreter functi

Re: printf? RE: help building hash on-the-fly?

2003-11-05 Thread Andrew Gaffney
Well, atleast I was right about the padding :) LoBue, Mark wrote: -Original Message- From: Andrew Gaffney [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 3:21 PM To: [EMAIL PROTECTED] Subject: Re: printf? RE: help building hash on-the-fly? I'm going to venture a guess here. It

RE: Why is parsing your own form data a bad idea?

2003-11-05 Thread Dan Muey
> If it comes to the point where you need to "hack around" > CGI.pm, I'd say go > with your original inclination to just do it yourself. Give me one example when you'd need to hack CGI.pm to handle input that you can't do without hacking it. > > -Phil -- To unsubscribe, e-mail: [EMAIL PROTEC

RE: printf? RE: help building hash on-the-fly?

2003-11-05 Thread LoBue, Mark
> -Original Message- > From: Andrew Gaffney [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 05, 2003 3:21 PM > To: [EMAIL PROTECTED] > Subject: Re: printf? RE: help building hash on-the-fly? > > > I'm going to venture a guess here. Its probably because he > needed the number printe

Re: printf? RE: help building hash on-the-fly?

2003-11-05 Thread Andrew Gaffney
I'm going to venture a guess here. Its probably because he needed the number printed as a 3-digit number padded with zeroes, which print can't do. McMahon, Chris wrote: Hi Wags... So now an idle style question, if you don't mind... This syntax seems pretty obscure to me (I had to look up

Re: Reading and from more than one filehandle / memory question

2003-11-05 Thread Motherofperls
This is my first attempt. My misunderstanding was in the fact that I could put the filehandles inside another filehandles while loop. #!perl use strict; &read_the_files; sub read_the_files{ print "\nread_the_files";# my$file1 ="./file1.txt"; #contents of file1.txt #1 #6 my$file2 = "./f

Re: $x .= $y suddenly breaks and does $x=$y instead!

2003-11-05 Thread R. Joseph Newton
Jenda Krynicky wrote: Jenda, what did you reply to here? Please check your sender software. Your message referenced Rob Dixon's post "Re; refs to subs", Message-ID <[EMAIL PROTECTED]>. It showed no reference whatsoever to <[EMAIL PROTECTED]>, the post to which you were ostensibly responding Pl

printf? RE: help building hash on-the-fly?

2003-11-05 Thread McMahon, Chris
Hi Wags... So now an idle style question, if you don't mind... This syntax seems pretty obscure to me (I had to look up what printf was doing): printf "%3d $file\n", $MyId++; It's efficient and all, but isn't this more readable for the same number of characters? print

Re: help building hash on-the-fly?

2003-11-05 Thread Motherofperls
Hashes are for referencing by a key name. There isn't a need for a hash if you're using a number index.

Is foo qw (arg1 arg2) equivalent to foo (arg1, arg2)?

2003-11-05 Thread Dan Anderson
I've noticed that in code examples something like the following will be used: use Data::Dump qw(dump); foo->bar qw(foo bar); (Syntax may not be 100% correct). Am I correct in assuming that if I have a subroutine foo (or method if called with a package name), and I use qw() it takes all words sep

Re: help building hash on-the-fly?

2003-11-05 Thread James Edward Gray II
On Wednesday, November 5, 2003, at 04:52 PM, McMahon, Chris wrote: (But if any hash solutions make it to the list, I'll probably try them too, just for practice...) It's not a hash problem. Hashes are associative arrays, they're for when you need to call contents by name. Any question o

RE: Why is parsing your own form data a bad idea?

2003-11-05 Thread Jeff 'japhy' Pinyan
On Nov 5, Wiggins d Anconia said: >I suspect your comment about wanting "%POST and %GET" has more to do >with the 'and' than the values on either side. If my assumption is >correct and you are passing *both* values in the content body and in the >url header then I believe you are forming a non-sta

Re: Why is parsing your own form data a bad idea?

2003-11-05 Thread Jeff 'japhy' Pinyan
On Nov 5, Dan Anderson said: >There doesn't seem to be what I want in CGI.pm. (I want to create a >%GET and %POST hash of the form $HASH{NAME} = VALUE). So make them yourself. You can use param() and url_param() to get POST and GET parameters if BOTH have been used in the same program (this is

RE: help building hash on-the-fly?

2003-11-05 Thread McMahon, Chris
This works great. The light bulb lit up, I guess I didn't really need a hash after all-- thanks for pointing out the simple solution! (But if any hash solutions make it to the list, I'll probably try them too, just for practice...) -C -Original Message---

RE: help building hash on-the-fly?

2003-11-05 Thread Wagner, David --- Senior Programmer Analyst --- WGO
McMahon, Chris wrote: > Hello... > This is probably a very simple question, but I don't have > much experience using hashes... > I have a simple program that lists all of the files on a > directory: > > @files = ; > foreach $file (@files) { > print "$file\n"; >

RE: Why is parsing your own form data a bad idea?

2003-11-05 Thread Dan Anderson
> Look at perldoc CGI under "FETCHING THE PARAMETER LIST AS A HASH" Hmmm...seems like I was looking in the wrong place of the documentation. Thanks. -Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

help building hash on-the-fly?

2003-11-05 Thread McMahon, Chris
Hello... This is probably a very simple question, but I don't have much experience using hashes... I have a simple program that lists all of the files on a directory: @files = ; foreach $file (@files) { print "$file\n"; } which prints so

searchable webpage

2003-11-05 Thread Desmond Coughlan
Hi, I know that this exists already, but I can't find any code to pinch on the web. :-( The thing I want to do, is to create a searchable index on a webpage. It's a spoof newsgroup designed to take the piss out of someone on an Internet group. The address is url:http://www.zeouane.org/peinedemo

RE: Why is parsing your own form data a bad idea?

2003-11-05 Thread Dan Anderson
> If you explain why you need the %POST and %GET hashes specifically maybe we can help > you do it the best way. > So whjat are you trying to accomplish with those hashes? Well it's mostly just readability of the code. That and I am learning from the O'Reilly book CGI Programming With Perl and t

Re: Why is parsing your own form data a bad idea?

2003-11-05 Thread Phil Schaechter
> hack around it I suspect you could pull out the POST data, then grab the > actual full URL then pass it back through CGI's private methods to grab > the data that is there also and combine the two... > Or, the OP can do what I have been doing for years with no ill effects, and simply write your

RE: Why is parsing your own form data a bad idea?

2003-11-05 Thread Bob Showalter
Dan Anderson wrote: > There doesn't seem to be what I want in CGI.pm. (I want to > create a %GET and %POST hash of the form $HASH{NAME} = VALUE). Look at perldoc CGI under "FETCHING THE PARAMETER LIST AS A HASH" -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

RE: Why is parsing your own form data a bad idea?

2003-11-05 Thread Wiggins d Anconia
> > This seems kind of silly. Can anyone explain to me why this is? > > Because if you do : > > use CGI qw(param); > - It will work > - Implemented the same in every script in every server > - people will understand what you're doing > - it's reusable over and over and

RE: Why is parsing your own form data a bad idea?

2003-11-05 Thread Dan Muey
> This seems kind of silly. Can anyone explain to me why this is? Because if you do : use CGI qw(param); - It will work - Implemented the same in every script in every server - people will understand what you're doing - it's reusable over and over and over

Re: Why is parsing your own form data a bad idea?

2003-11-05 Thread Brian Gerard
And the clouds parted, and Dan Anderson said... > > This seems kind of silly. Can anyone explain to me why this is? > Beats me. I've been rolling my own cgi-handlers since perl4 with no discernable ill effects. :) Let me know if you want some sample code. Brian /~

Why is parsing your own form data a bad idea?

2003-11-05 Thread Dan Anderson
I am trying to create a web page. When I looked up how to decode URL encoded data in the Perl FAQs it told me: "You use a standard module, probably CGI.pm. Under no circumstances should you attempt to do so by hand!" (URL: http://www.perldoc.com/perl5.8.0/pod/perlfaq9.html#How-do-I-decode-a-CGI-

Re: Reading and from more than one filehandle / memory question

2003-11-05 Thread Tore Aursand
On Wed, 05 Nov 2003 14:47:53 -0500, Motherofperls wrote: > I have some large files that all have data for filling one table. What is a "table" in this context? > 1. I want to read from each of these files one line at a time at the > same time without assigning the file to an array. Easy enough;

RE: Top-posting

2003-11-05 Thread Tore Aursand
On Wed, 05 Nov 2003 14:45:09 -0500, Paul Kraus wrote: > I don't see why it matters how you send your message. Please don't take this too hard, but it seems like you haven't been in the "game" long enough to understand _why_ there are rules on how one should keep an discussion going. There are _wa

Re: Top-posting

2003-11-05 Thread Daniel Staal
--On Wednesday, November 5, 2003 8:00 PM + Rob Dixon <[EMAIL PROTECTED]> wrote: Alan Perry wrote: Rob Dixon wrote: I have taken to copying messages into my text editor as there is no email client that I know that can do what I want. Until I write it, that is :) Someone has saved you the trou

Emacs Variable Completion

2003-11-05 Thread Dan Anderson
Does anybody know of a eLISP package I can use in Emacs to complete perl variables. i.e. while typing %my_variable_name, at %my I could shift-tab or something and get either %my_variable_name or a list like: %my_variable_1 %my_variable_name Thanks in advance, Dan -- To unsubscribe, e-mail: [E

RE: Please Explain

2003-11-05 Thread Tim Johnson
The Win32::TieRegistry and Win32::Registry modules are great for this. I prefer Win32::TieRegistry myself. You will want to install it via PPM C:\> PPM PPM> install Win32-TieRegistry If you run into problems because of a firewall or proxy server, do a search on the ActveState site. Attached

RE: Training in the Middle and Far East

2003-11-05 Thread rp_29
Title: Message To David,   hahaha yeah it is of that order, glad you were able to grasp.   To Rob and Casey, its ok considered closed here. " This has been altered beyond my recognition from my original post. 'Science' simply means 'knowledge', and that is where my intention ended. " Thats

Re: Reading and from more than one filehandle / memory question

2003-11-05 Thread Rob Dixon
Once again, please say who you are? <[EMAIL PROTECTED]> wrote: > > I have some large files that all have data for filling one table. I'm > concerned about memory resources. > > 1. I want to read from each of these files one line at a time at the same > time without assigning the file to an arra

Re: Top-posting

2003-11-05 Thread Rob Dixon
Alan Perry wrote: > > Rob Dixon wrote: > > > > I have taken to copying messages into my text editor as there is no > > email client that I know that can do what I want. Until I write it, > > that is :) > > Someone has saved you the trouble... There is a program called Quotefix > that will clean up

Re: Top-posting

2003-11-05 Thread Rob Dixon
Paul Kraus wrote: > This topic gets beaten on about every other month. > I don't see why it matters how you send your message. > This is not a news group. It may propagate but its not a news group. > > Last time this happened for every 1 list mail for it I received 30 off > list mails of people who

Re: Reading and from more than one filehandle / memory question

2003-11-05 Thread James Edward Gray II
On Wednesday, November 5, 2003, at 01:47 PM, [EMAIL PROTECTED] wrote: I have some large files that all have data for filling one table. I'm concerned about memory resources. 1. I want to read from each of these files one line at a time at the same time without assigning the file to an array.

RE: Top-posting

2003-11-05 Thread Perry, Alan
Rob Dixon wrote: > Scott E Robinson wrote: >> >> Randal wrote: >>> >>> Scott E Robinson wrote: >>> (And, sorry for the top-posting. I haven't figured out how to fix that!) >>> >>> Uh, press the down arrow about a dozen times. How *hard* is that? >> >> Lotus Notes adds a header to

Reading and from more than one filehandle / memory question

2003-11-05 Thread Motherofperls
I have some large files that all have data for filling one table. I'm concerned about memory resources. 1. I want to read from each of these files one line at a time at the same time without assigning the file to an array. I haven't done this one yet, Does anyone have any example code? I wa

RE: Top-posting

2003-11-05 Thread Paul Kraus
This topic gets beaten on about every other month. I don't see why it matters how you send your message. This is not a news group. It may propagate but its not a news group. Last time this happened for every 1 list mail for it I received 30 off list mails of people who could care less. So why peo

Re: Science [was:Training in the Middle and Far East]

2003-11-05 Thread Rob Dixon
Rp_29 wrote: > > Dear Jenda, pls. read thru... > > From: Jenda Krynicky [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 05, 2003 5:28 AM > To: Rajeev Prasad; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Training in the Middle and Far East > > Hence physics is not a science either. You

RE: Mainframes

2003-11-05 Thread murphy, daniel (BMC Eng)
Wow, another mainframer! I wasn't sure you could telnet to a mainframe (OS/390 or z/OS I assume you mean) until I just tried it using a telnet emulator. Usually one uses 3270 emulation. I'm not sure what it buys you since most services use ISPF. Most of my Perl stuff (very basic stuff) either use

Re: Training in the Middle and Far East

2003-11-05 Thread David Kapp
    ---Original Message---   From: Rajeev Prasad Date: Tuesday, November 04, 2003 10:45:56 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Training in the Middle and Far East   the clouds were dark and a lightining striked again.. obviously that was when they parted. :)

Re: $x .= $y suddenly breaks and does $x=$y instead!

2003-11-05 Thread David Kapp
    ---Original Message---   From: Rob Dixon Date: Tuesday, November 04, 2003 5:23:17 PM To: [EMAIL PROTECTED] Subject: Re: $x .= $y suddenly breaks and does $x=$y instead!   Hi Richard.   Richard Heintze wrote: > > Sorry -- I was not quoting my own code precisely and I am using stri

RE: Training in the Middle and Far East

2003-11-05 Thread David Kapp
    ---Original Message---   From: rp_29 Date: Wednesday, November 05, 2003 11:51:50 AM To: 'Jenda Krynicky'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Training in the Middle and Far East   Dear Jenda, pls. read thru...   -Original Message- From: Jenda Krynicky [mailt

Re: Top-posting

2003-11-05 Thread Rob Dixon
Scott E Robinson wrote: > > Randal wrote: > > > > Scott E Robinson wrote: > > > > > (And, sorry for the top-posting. I haven't figured out how to fix that!) > > > > Uh, press the down arrow about a dozen times. How *hard* is that? > > Lotus Notes adds a header to the top of the note which I *can*

RE: science computers perl egos.... ....and the universe.

2003-11-05 Thread rp_29
Any effort small or big by any individual or group (like this list ) should be respected and I do. Irrespective of the fact that how much helpfull it was to the man-kind (Coz at least some one has spent some time of his/her life on it). -Original Message- From: Rob Dixon [mailto:[EMAIL PRO

Re: science computers perl egos.... ....and the universe.

2003-11-05 Thread Rob Dixon
Rp_29 wrote: > > Once upon a time in a western land, there was a person( this story is > gender neutral and can be applied to any gender as per your convience) > who was quite a creative kind of person. After spending few years in > high school, working at Big Mac and just having fun with the oter

RE: Regex search using scalar

2003-11-05 Thread Bob Showalter
Paul Harwood wrote: > Thanks. > > Can I substitute /pattern/ with a scalar though? Yes. grep $_ eq 'string', @list > > -Original Message- > From: Bob Showalter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 05, 2003 5:24 AM > To: Paul Harwood; Beginner Perl > Subject: RE: Reg

Top-posting

2003-11-05 Thread scott . e . robinson
Lotus Notes adds a header to the top of the note which I *can* cut and paste to the bottom. It does not do the indentation with '>' characters that seems to be preferred. Thanks, Scott Scott E. Robinson SWAT Team UTC Onsite User Support RR-690 -- 281-654-5169 EMB-2813N -- 713-656-3629

science computers perl egos.... ....and the universe.

2003-11-05 Thread rp_29
Once upon a time in a western land, there was a person( this story is gender neutral and can be applied to any gender as per your convience) who was quite a creative kind of person. After spending few years in high school, working at Big Mac and just having fun with the oter sex, (s)he decided to d

Re: CPAN.pm: How do you specify an alternate compiler?

2003-11-05 Thread Steve Grazzini
On Wed, Nov 05, 2003 at 12:17:08PM -0500, Rich Fernandez wrote: > I'm using CPAN.pm to install Bundle::CPAN (and others) and I get a message > that says: > > make: cc: Command not found > > How can I specify gcc instead of cc without having to edit each individual > Makefile? You need to use the

Archive::Tar a directory?

2003-11-05 Thread chad kellerman
Hello, I am writing a program that backups up databases. I am having trouble tarring up the directories. Tarring files using Archive::Tar is pretty straight forward, but tarring directories, I am having issues: here is part of the code.. $datadir = "/var/lib/mysql/"; $dbQuery = qq(

CPAN.pm: How do you specify an alternate compiler?

2003-11-05 Thread Rich Fernandez
Hi folks, I'm using CPAN.pm to install Bundle::CPAN (and others) and I get a message that says: make: cc: Command not found How can I specify gcc instead of cc without having to edit each individual Makefile? I created a link called "cc" and pointed it to /usr/local/bin/gcc, but I get all kinds

RE: Training in the Middle and Far East

2003-11-05 Thread Wiggins d Anconia
> > Desigining computer is science, desigining silicon wafer is science, > writing new logical instruction set is science, Desgining and refining > the hardware is science. But all of it is Physics, Chemistry and maths. But you are talking semantics purely, and an existential discussion is proba

RE: Training in the Middle and Far East

2003-11-05 Thread Roberts Mr Richard L
come on people, lets keep it to 'code' questions not stupid statements... -Original Message- From: George Schlossnagle [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 12:07 PM To: [EMAIL PROTECTED] Subject: Re: Training in the Middle and Far East DO NOT FEED THE TROLLS. --

Re: Training in the Middle and Far East

2003-11-05 Thread George Schlossnagle
DO NOT FEED THE TROLLS. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Training in the Middle and Far East

2003-11-05 Thread rp_29
Dear Jenda, pls. read thru... -Original Message- From: Jenda Krynicky [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 5:28 AM To: Rajeev Prasad; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Training in the Middle and Far East Hence physics is not a science either. You c

sub dirs

2003-11-05 Thread rogerio
My greetings... I am programming a scrit in perl... this script must list a the folders and files i have inside a especific folder, but inside this forder there are directories that have "ç" and for this reasing i just get the char "‡" is there some other option to be done for me? i tried the f

RE: Regex search using scalar

2003-11-05 Thread Bob Showalter
Paul Harwood wrote: > I would like to enumerate a list and search through each element like > so: > > > > If (/$logs[i]/) > > > > { # code} > > > > > > I know the syntax is wrong so I was hoping someone could > explain how to > do this. If I understand correctly, you want to use grep(

Re: Training in the Middle and Far East

2003-11-05 Thread Sudarshan Raghavan
Rob Dixon wrote: To all. I wonder if any subscriber from the middle and far eastern countries Why not just say "Asian Countries" can explain what training and IT experience people like them are likely to have had? Can't speak for the entire asian region (only India and Bangalore in particular

Re: Regex search using scalar

2003-11-05 Thread Tore Aursand
On Tue, 04 Nov 2003 20:41:17 -0800, Paul Harwood wrote: > I would like to enumerate a list and search through each element like > so: > [...] Why do you want to enumerate the list? Do you _really_ need to know the index of the current element? If really so: my $i = 0; foreach ( @list ) {

Re: Training in the Middle and Far East

2003-11-05 Thread Jenda Krynicky
From: "Rajeev Prasad" <[EMAIL PROTECTED]> > To me Physics, mathematics and chemistry are capable enough to explain > certain things/phenomenons on their own. Or in other words one can not > explain/prove certain things in the absence of any or all of these > fundamental blocks of knowledge base.

Re: Surpressing concatenation with null warnings

2003-11-05 Thread Jenda Krynicky
From: Darin McBride <[EMAIL PROTECTED]> > Richard Heintze wrote: > > I have just discovered the the following code causes > > trouble when I have "use strict" and "use warn"; > > > > use strict; > > use warnings; > > > > my $k = $q->param('xyz'); > > print qq[ \$k = $k ]; > > > > The problem is

Re: Simple CGI Question

2003-11-05 Thread Tore Aursand
On Wed, 05 Nov 2003 01:26:20 -0500, Jack wrote: > In my perl CGI script, I'm trying to extract the PID > that corresponds to it. The '$$' variable holds the pid; perldoc perlvar > How come it's not possible to do something like: > > print ""; > print `time`; > print ""; No need to do a syste

Re: Surpressing concatenation with null warnings

2003-11-05 Thread Darin McBride
Richard Heintze wrote: > I have just discovered the the following code causes > trouble when I have "use strict" and "use warn"; > > use strict; > use warnings; > > my $k = $q->param('xyz'); > print qq[ \$k = $k ]; > > The problem is that if there is no GET/POST param > called xyz, we are conca

Please Explain

2003-11-05 Thread Waris Mirza
Hi I am trying to save (read / change / write) windows XP taskbar registry values. Like show clock, always on top and same for desktop setting How can I get registry settings, save it and change it again. Can you please send me the source code. Through which I can read and write taskbar va

Regex search using scalar

2003-11-05 Thread Paul Harwood
I would like to enumerate a list and search through each element like so: If (/$logs[i]/) { # code} I know the syntax is wrong so I was hoping someone could explain how to do this. Thanks. --Paul