R. Joseph Newton wrote:
>
> Well, I tried it, and a few permutations thereof, and the only real
> difference I see with our is that the our makes the inner declaration
> a comment.
It only works that way if you've also declared the variable with 'our'
at file level. That way it's just a package va
Hi George. I think you'd have had an answer by now if there was
one. I can't think of anything but I wasn't willing to post and say
'it can't be done' without waiting for others' ideas.
George P. wrote:
> But now, I need to check for all classes other than "text";
>
> This has me stumped!!
>
> For
R. Joseph Newton wrote:
>
> Sporry about the typo.
You'll make a typost yet :-D
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
From: "Rob Dixon" <[EMAIL PROTECTED]>
> There was an example in there that demonstrated
> using 'our' to implement a C-like 'static' variable.
Well ... if you mean something like
int Inc() {
static int cnt;
return cnt++;
}
then our() is not the rig
Hi,
My todays problem: I extraxt some data out of a file, stored it etc., put
them into an equation and print it to an outputfile in which the results
are sorted by some of their values. The equation was first a linear one
(and worked perfectly), but now I would like to work with exponents (Basis
"Marco" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The input file only contains lines like:
>
> foo.com
>
> But the target file(s) look like this: (example specified is just an
example)
>
> zone "foo.com" {
> type master;
> file "pri/foo.com";
> };
use
Simran,
Thank you very much for your reply. I see what you're saying about
@EXPORT. I really don't want to be mixing namespaces. And yes, cars
do have names. I'm not modeling them in my system yet, but I should be
ready.
I have a couple of follow-up questions.
> A "neater" less ambigious w
"Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message
3E2E9EDB.5722.62EB5D@localhost">news:3E2E9EDB.5722.62EB5D@localhost...
> From: "Rob Dixon" <[EMAIL PROTECTED]>
> > There was an example in there that demonstrated
> > using 'our' to implement a C-like 'static' variable.
>
> Well ... if you mean
On Wed, 22 Jan 2003 05:17:47 -0800 (PST), Rob Richardson <[EMAIL PROTECTED]> wrote:
>
> > > When I run perl -c to check this, it complains that @ISA, @EXPORT
> > and
> > > %self are global symbols that need explicit package names. Why is
> > > t
Michael Kingsbury wrote:
>> print Dog::Hello;
>
> That was it, they weren't exported I think. Refering to them as
> Win32::File::ARCHIVE, I don't have the problem.
Hi Mike
The Win32::File module exports the constants by default. If you want
to import GetAttributes and SetAttributes as well you h
On Tue, 21 Jan 2003 11:06:55 -0500, [EMAIL PROTECTED] (Paul Kraus)
wrote:
>Great article. Cleared up all of my confusion. However it did not touch
>on "our". Anyone care to explain what its used for.
For a practical example:
The only time I ever needed to use "our" is when I use
the "require scr
From: "Rob Dixon" <[EMAIL PROTECTED]>
> "Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message
> 3E2E9EDB.5722.62EB5D@localhost">news:3E2E9EDB.5722.62EB5D@localhost...
> > From: "Rob Dixon" <[EMAIL PROTECTED]>
> > > There was an example in there that demonstrated
> > > using 'our' to implement a C-l
Hi all, today I discovered a module, the Shell.pm module, which gives you
the possibility to run shell commands directly from perl.
to use it, you should try:
use Shell;
sub ls;
print ls('/etc');
What is the advantage of using all this syntax instead of simply use a:`ls
/etc`; ?
I mean, I don't k
Hello,
I figured out how to substitute. But I need howto help as I didn't know
how to print out my desired matched items. Thanks!
Instead of the substitution, I want to match and keep. In other words,
I want to extract and keep/print up to the blank line
so that the output will be:
semeste
Rob Richardson wrote:
> Simran,
>
> Thank you very much for your reply. I see what you're saying about
> @EXPORT. I really don't want to be mixing namespaces. And yes, cars
> do have names. I'm not modeling them in my system yet, but I should
> be ready.
>
> I have a couple of follow-up questio
Jenda Krynicky wrote:
> From: "Rob Dixon" <[EMAIL PROTECTED]>
>> "Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message
>> 3E2E9EDB.5722.62EB5D@localhost">news:3E2E9EDB.5722.62EB5D@localhost...
>>> From: "Rob Dixon" <[EMAIL PROTECTED]>
There was an example in there that demonstrated
using
Ok, this is the strangest thing. I've been staring at it for an hour,
and it has to be something monumentally stupid.
I have a function that is given a hash reference and it then just looks
up one of its elements in an anonymous hash that points to other
functions. Here's the function (I remo
Hi All,
Is there a free version of Perl that I can get that will run on Win98 machine. I want
to start learning Perl. checked ActiveState but it looks like that is only a 15 or 30
day evaluation, I may be wrong?
Thanks,
Scott Barnett
Home Care Medical - Technical Support Specialist
1-800-369-6
> How to access and create RandomAccessFile
> could u send me simple example?
Use open.
If you want more help give more details.
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Hi Again,
Never mind I was looking at the Perl Dev Kit, which is an evaluation.
Scott Barnett
Home Care Medical - Technical Support Specialist
1-800-369-6939
1-262-786-9870 ext.214
E-Mail [EMAIL PROTECTED]
Confidentiality Notice: This e-mail message, including any attachments, is for the
sole u
OK apparantly I have a scoping problem below. If I add this line:
print "ok\n" if exists $db_table->{codeline};
inside my function, I get nothing. If I put it right after the db_table
declaration, it prints. So... are 'my' variables outside of a function
not visible inside it?
Ben Siders wr
On Wed, Jan 22, 2003 at 01:07:19PM -, Rob Dixon <[EMAIL PROTECTED]> wrote:
> push @files, join ' and ', delete @files[-2,-1];
Your program successfully matches the entries, prints in which files the string is
found:
Zone foo.com was found in files and boot.fixed
But it also pr
From: "Bruno Negrao" <[EMAIL PROTECTED]>
> Hi all, today I discovered a module, the Shell.pm module, which gives
> you the possibility to run shell commands directly from perl. to use
> it, you should try:
>
> use Shell;
> sub ls;
> print ls('/etc');
>
> What is the advantage of using all this sy
Alan C. wrote:
> Hello,
>
> I figured out how to substitute. But I need howto help as I didn't
> know how to print out my desired matched items. Thanks!
>
> Instead of the substitution, I want to match and keep. In other
> words, I want to extract and keep/print up to the blank line
>
> so that
From: "Rob Dixon" <[EMAIL PROTECTED]>
> Jenda Krynicky wrote:
> > From: "Rob Dixon" <[EMAIL PROTECTED]>
> >> "Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message
> >> 3E2E9EDB.5722.62EB5D@localhost">news:3E2E9EDB.5722.62EB5D@localhost...
> >>> From: "Rob Dixon" <[EMAIL PROTECTED]>
> There was
Scott Barnett wrote:
> Is there a free version of Perl that I can get that will run
> on Win98 machine. I want to start learning Perl. checked
> ActiveState but it looks like that is only a 15 or 30 day
> evaluation, I may be wrong?
I assume you want a binary, not the source code? Well, chec
Marco wrote:
> On Wed, Jan 22, 2003 at 01:07:19PM -, Rob Dixon
> <[EMAIL PROTECTED]> wrote:
>
>> push @files, join ' and ', delete @files[-2,-1];
>
> Your program successfully matches the entries, prints in which files
> the string is found:
>
> Zone foo.com was found in files and
Jenda Krynicky wrote:
> I don't say you should not use our(). All I say is you should know
> exactly what it means and use each of
> sub {
> our $var;
> ...
> }
>
> sub {
> my $var;
> ...
> }
>
> {
> my $var;
> sub {
> ...
> }
> }
> where it belongs.
And there we disagree. Which is fine. I've neve
Hi -
> -Original Message-
> From: Scott Barnett [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 4:33 AM
>
> Hi All,
>
> Is there a free version of Perl that I can get that will run on
> Win98 machine. I want to start learning Perl. checked ActiveState
> but it looks like
Hi -
> -Original Message-
> From: Scott Barnett [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 4:38 AM
> To: [EMAIL PROTECTED]
> Subject: My Mistake
>
>
> Hi Again,
>
> Never mind I was looking at the Perl Dev Kit, which is an evaluation.
>
> Scott Barnett
> Home Care Me
hellow friends,
i want to submite a project to collage. can you give me some ideas and guidence to do
my project.
kasi
Catch all the cricket action. Download Yahoo! Score tracker
Kasi ramanathen wrote:
> hellow friends,
>
> i want to submite a project to collage. can you give me some ideas
> and guidence to do my project.
>
Hi Kasi
We can give you ideas and guidance, but you must start the ball rolling.
Only you know what kind of project you should do, what you are
capabl
Scott --
...and then Scott Barnett said...
%
% Hi All,
Hi!
%
% Is there a free version of Perl that I can get that will run on Win98 machine. I
want to start learning Perl. checked ActiveState but it looks like that is only a 15
or 30 day evaluation, I may be wrong?
Looks like you are, but
dear friends
you can give me idea for any poject networking, using database, testing programm,
writting script for unix, simple or complex. say about a project that has value using
it i may get some good job.
kasi
Catch all the cricket action. Download Yahoo! Score tracker
kasi --
...and then kasi ramanathen said...
%
% dear friends
%
% you can give me idea for any poject networking, using database, testing programm,
writting script for unix, simple or complex. say about a project that has value using
it i may get some good job.
I have one, then. Develop a da
There's a FAQ that deals with coding a "tail -f" if you're logfile is on the
same box as the perl script.
But what if you want to use rsh to tail a file remotely?
Here's what I have:
--8<---8<---
#!/u
How about a gui wraper for IPFW, that will run on say G-nome ??
Mark
- Original Message -
From: "kasi ramanathen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 12:18 PM
Subject: project
>
> dear friends
>
> you can give me idea for any poject networking,
I'd pay for this one :
A tk sort of module that would allow you to write a script
and use native MAC OSX GUI screens so that a perl script would look just like
a cocoa program or any other app and be all creamy and sexxy like OS X!
Shouldn't be impossible I just don't have time. And talk
I am looking for a better way, a perl way for the following:
foreach ( @data ) ) {
s/^ //;
$data_[ $jp++ ] = $_;
}
I have seen a one liner using while, but I do not remember.
Thanks,
Jerry
When you loop through an array
for(@array){ ... }
should not each array element be aliased into $_: if you change $_, you
also change the element? This is what I remembered. However, a problem I
just encountered shook this recollection.
I think I read somewhere that you should NOT delete arra
On Jan 22, Jerry Preston said:
>I am looking for a better way, a perl way for the following:
>
>foreach ( @data ) ) {
> s/^ //;
> $data_[ $jp++ ] = $_;
>}
You do realize that you're modifying the elements in @data as well, right?
So that, unless $jp starts at some value other th
.--[ Jerry Preston wrote (2003/01/22 at 11:59:14) ]--
|
| I am looking for a better way, a perl way for the following:
|
| foreach ( @data ) ) {
|s/^ //;
|$data_[ $jp++ ] = $_;
| }
|
`-
I'm assumi
Richard Fernandez wrote:
> There's a FAQ that deals with coding a "tail -f" if you're logfile is
> on the same box as the perl script.
> But what if you want to use rsh to tail a file remotely?
>
> Here's what I have:
> --8<--
> -8<--
Hello,
My question is :
Is there a better,easier, more secure,
prettier way to do what I'm outlining below?
There are some screamingly obvious security issues but
at this point I'm more interested in getting it to do
what I need then I'll focus on redesigning for security.
I have a script
Frank Wiles wrote:
> .--[ Jerry Preston wrote (2003/01/22 at 11:59:14) ]-- |
> | I am looking for a better way, a perl way for the following: |
> | foreach ( @data ) ) {
> |s/^ //;
> |$data_[ $jp++ ] = $_;
> | }
> |
> `---
Hi, I'm trying to install a module from CPAN, the vpopmail.pm module.
I'm running redhat 8.0 + vpopmail 5.2.1.
When I run 'make' to compile the makefile created by the makefile.PL script,
i receive the following error messages:
-
In case you're wondering why I don't just use DBI to get the data
directly from the database in showmedata.cgi the reason is this :
I want to have my database information in one script that is on a server
I control, instead of having it on possibly hundreds of scripts all over
the internet.
B
i want to know if i can to run perl with the dbi module and to view a
Progress database.
... and sorry ... my english is very bad.
thanks.
--
Gerardo D. Rios
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes. DBI has support for PostgreSQL. You can perform almost any
transaction through it that you would at the command line.
Gerardo wrote:
i want to know if i can to run perl with the dbi module and to view a
Progress database.
... and sorry ... my english is very bad.
thanks.
--
Benjam
Ben Siders wrote:
> Yes. DBI has support for PostgreSQL. You can perform almost any
> transaction through it that you would at the command line.
>
> Gerardo wrote:
>
> > i want to know if i can to run perl with the dbi module and to view
> > a Progress database.
n.b. "Progress" <> "PostgreSQL
Dan Muey wrote:
> Hello,
>
> My question is :
>
> Is there a better,easier, more secure,
> prettier way to do what I'm outlining below?
>
> There are some screamingly obvious security issues but
> at this point I'm more interested in getting it to do
> what I need then I'll focus on redesigning
Konrad Foerstner wrote:
> Hi,
>
> My todays problem: I extraxt some data out of a file, stored it etc., put
> them into an equation and print it to an outputfile in which the results
> are sorted by some of their values. The equation was first a linear one
> (and worked perfectly), but now I woul
"Dan Muey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
My question is :
Is there a better,easier, more secure,
prettier way to do what I'm outlining below?
There are some screamingly obvious security issues but
at this point I'm more interested in ge
> You are reinventing web services. check out the SOAP::Lite
I was wondering about that and also Net::Shared . Thanks for the info.
> toolkit. The module I'd use for your exercise is
> XMLRPC::Lite, packaged in the SOAP::Lite distro.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Jeff 'Japhy' Pinyan wrote:
>
> If you DON'T want that, you'd have to do:
>
> for (@data) {
> (my $copy = $_) =~ s/^ //;
> push @data_, $copy;
> }
>
> Or something to that effect. Here's a one-liner:
>
> @data_ = map { (my $copy = $_) =~ s/^ //; $copy } @data;
>
a bit shorter:
Ah, I skimmed over it too fast. My bad.
Bob Showalter wrote:
Ben Siders wrote:
Yes. DBI has support for PostgreSQL. You can perform almost any
transaction through it that you would at the command line.
Gerardo wrote:
i want to know if i can to run perl with the dbi module and to vie
Someone posted a question as to the size of number which a scalar would
tolerate. When I wanted to know what size boundaries I faced in
certain variable types in C, I wrote a little program that added 1 to a
variable until n+1 was less than n, at which point I concluded the
variable had been r
On Wednesday, January 22, 2003, at 12:40 PM, Gerardo wrote:
i want to know if i can to run perl with the dbi module and to view a
Progress database.
DBI:: lets you get data into and out of databases, though you need
DBI::Pg to interface with PostgreSQL. Search CPAN for perl modules to
get y
You'll be waiting a long time. Perl quickly moves into scientific
notation and can handle arbitrarily large values. I wrote a similar
program a while back and got bored with it when the count hit about
10^17. :)
Christopher D. Lewis wrote:
Someone posted a question as to the size of number w
Chris Said:
> Someone posted a question as to the size of number which a
> scalar would
> tolerate.
I guess I missed this thread, so I hope I'm not repeating information. :)
> Perl seems to
> tolerate quite a bit of this, as the app has been churning away,
> printing every so many number ju
Ben Siders wrote:
> You'll be waiting a long time. Perl quickly moves into scientific
> notation and can handle arbitrarily large values. I wrote a similar
> program a while back and got bored with it when the count hit about
> 10^17. :)
if you don't want to wait but still want to try to push P
Christopher D. Lewis wrote:
> NOT Abandoned!! Very active!
> On Wednesday, January 22, 2003, at 12:54 PM, Bob Showalter wrote:
>
> > Ben Siders wrote:
> > > Yes. DBI has support for PostgreSQL. You can perform almost any
> > > transaction through it that you would at the command line.
> > >
>
I must have missed the original thread, but this one caught my eye.
I have a script that parses firewall log files and counts the bytes that
meet a certain criteria. Usually I do this in one month at a time and I
occasionally get negative numbers as answers when I get up over a few
billion bytes.
Ben Siders wrote:
>
> Ben Siders wrote:
> >
> > Ok, this is the strangest thing. I've been staring at it for an hour,
> > and it has to be something monumentally stupid.
> >
> > I have a function that is given a hash reference and it then just
> > looks up one of its elements in an anonymous hash
Zeus Odin wrote:
>
> When you loop through an array
>
>for(@array){ ... }
>
> should not each array element be aliased into $_: if you change $_, you
> also change the element?
Yes, that is correct.
> This is what I remembered. However, a problem I
> just encountered shook this recollectio
On Wed, Jan 22, 2003 at 02:10:34PM -0800, John W. Krahn wrote:
> Zeus Odin wrote:
> > I think I read somewhere that you should NOT delete array elements from
> > within a loop. However, the following works very well.
>
> I think that you are thinking of hashes.
From perlsyn:
If any part of LIS
Rob Dixon wrote:
>
> Marco wrote:
> > On Wed, Jan 22, 2003 at 01:07:19PM -, Rob Dixon
> > <[EMAIL PROTECTED]> wrote:
> >
> >> push @files, join ' and ', delete @files[-2,-1];
> >
> > Your program successfully matches the entries, prints in which files
> > the string is found:
> >
>
"John W. Krahn" wrote:
>
> Rob Dixon wrote:
> >
> > Marco wrote:
> > > On Wed, Jan 22, 2003 at 01:07:19PM -, Rob Dixon
> > > <[EMAIL PROTECTED]> wrote:
> > >
> > >> push @files, join ' and ', delete @files[-2,-1];
> > >
> > > Your program successfully matches the entries, prints in
Paul Johnson wrote:
>
> On Wed, Jan 22, 2003 at 02:10:34PM -0800, John W. Krahn wrote:
> >
> > I think that you are thinking of hashes.
>
> From perlsyn:
>
> If any part of LIST is an array, "foreach" will get very
> confused if you add or remove elements within the loop
> body, for example
kasi ramanathen wrote:
> dear friends
>
> you can give me idea for any poject networking, using database, testing programm,
>writting script for unix, simple or complex. say about a project that has value using
>it i may get some good job.
>
> kasi
Hi Kasi,
I'd suggest that you look around you
Gidday all,
When using our CMS (Interwoven Teamsite) I want to remove from any textarea any html
tags that I don't want content contributors to use. On in particular is the font tag.
Can one use a regex to remove these?
I guess Im looking for a regex to remove anything between the font tags e
Hrmm.. now, how to do the reverse.
I know you're wondering, "how new is NEW," but I'm a seasoned pascal and
standard c programmer, who's busy schedule hasn't allow me to read much
past strings in the manual, so I I've never heard of "tr".
peace be with you
Joshua
the manualAt 1/20/2003 04:35 P
> -Original Message-
> From: Johnstone, Colin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 12:29 PM
> To: '[EMAIL PROTECTED]'
> Subject: Removing HTML Tags
>
>
> Gidday all,
>
> When using our CMS (Interwoven Teamsite) I want to remove
> from any textarea any html ta
To do it reliably use something like HTML::Parser.
You can come up with a very simple regex to take care of the simple
cases:
eg. $html =~ s!.*?!!igm;
But you will run into problems very soon with nested tags etc...
On Thu, 2003-01-23 at 12:28, Johnstone, Colin wrote:
> Gidday all,
>
>
Hi,
I'm trying to construct a regular expression to find HTML open tags without
closing tags up to another of the same HTML open tag or a closing tag of a
different type that's no enclosed in the implied closing tag optional HTML
tag (for example doesn't require a closing tag. The closing tag is
"Johnstone, Colin" wrote:
"I guess Im looking for a regex to remove anything between the font tags e.g and
. Of course their could be anynumber of attributes in the openning font tag."
Hi Colin,
Try:
s/\<\/(0,1)font.*\>?//g;
HTH,
Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
small modification below.
> -Original Message-
> From: Toby Stuart [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 12:56 PM
> To: 'Johnstone, Colin'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Removing HTML Tags
>
>
>
>
> > -Original Message-
> > From: Johnstone, Col
Hello, here's one for you all.
What is the fastest way to find out what protocal a script is being
called from ?
IE http, https, ftp ,etc
currently I have to use :
sub set_prot {
use CGI self_url;
$self_url_query = CGI::new();
$self_url = $self_url_query->self_url();
if($self_url
On Thu, 2003-01-23 at 13:12, Toby Stuart wrote:
> small modification below.
>
> > -Original Message-
> > From: Toby Stuart [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 23, 2003 12:56 PM
> > To: 'Johnstone, Colin'
> > Cc: '[EMAIL PROTECTED]'
> > Subject: RE: Removing HTML Tags
> >
Hey
I need a method that resolves Hostmasks into IP's, and IP's into hosts. I
can do the former, with:
sub resolve {
return inet_ntoa(scalar gethostbyname("@_"));
}
$data = resolve("host.mask.com");
However, if I give it an IP address, it will just return nothing, even if
the IP address is reso
> -Original Message-
> From: Dan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 1:19 PM
> To: [EMAIL PROTECTED]
> Subject: finding protocal script is called with
>
>
> Hello, here's one for you all.
>
> What is the fastest way to find out what protocal a script is being
Try the function: gethostbyaddr
or you could use:
http://search.cpan.org/author/JHI/perl-5.8.0/lib/Net/hostent.pm
On Thu, 2003-01-23 at 13:21, dan wrote:
> Hey
>
> I need a method that resolves Hostmasks into IP's, and IP's into hosts. I
> can do the former, with:
>
> sub resolve {
> return
Assuing you are using apache and only ever run ssl over port 443 (which
is the standard) you could use the SERVER_PORT environment variable...
aka:
$secure = $ENV{'SERVER_PORT'} eq '443' ? 1 : 0;
if ($secure) {
# do secure stuff...
}
else {
...
}
On Thu, 2003-01-23 at 13:19
> > > > -Original Message-
> > > > From: Johnstone, Colin [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, January 23, 2003 12:29 PM
> > > > To: '[EMAIL PROTECTED]'
> > > > Subject: Removing HTML Tags
> > > >
> > > >
> > > > Gidday all,
> > > >
> > > > When using our CMS (Interwoven
simran wrote:
Assuing you are using apache and only ever run ssl over port 443 (which
is the standard) you could use the SERVER_PORT environment variable...
aka:
$secure = $ENV{'SERVER_PORT'} eq '443' ? 1 : 0;
I may not have control over that, but that's agood idea if I did
if ($secure
Thank you all for your help.
-Original Message-
From: Toby Stuart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 13:44
To: 'simran'
Cc: '[EMAIL PROTECTED]'
Subject: RE: FW: Removing HTML Tags
> > > > -Original Message-
> > > > From: Johnstone, Colin [mailto:[EMAIL
Hi all,
I have 2 hashes, the keys are a unique field. Hashes are built like this:
open (INPUTFH, ) or die "Can't find allusers.chr file!\n";
while ( $line = ) {
#set values here here...
}
push ( @{ $NS{$BV_NF} }, $NS_Name, $NS_Cont, $W_Name, $V_FID, $G_P, $GWD,
$NS_Creation, $NS_Expira
Below works like a charm, thanks for the idea!
Now two questions more come to mind :
1 - would url() work faster than self_url() since it doesn't have to use
the query string or is url() fetched by taking self_url() and cutting it
down, IE more steps?
2 - Is there any way to shorten/speed/improve
> -Original Message-
> From: Dan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 2:14 PM
> To: Toby Stuart
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: finding protocal script is called with
>
>
> Below works like a charm, thanks for the idea!
> Now two questions more come to
Dan wrote:
>
> Hey
Hello,
> I need a method that resolves Hostmasks into IP's, and IP's into hosts. I
> can do the former, with:
>
> sub resolve {
> return inet_ntoa(scalar gethostbyname("@_"));
You should be using $_[0] here instead of "@_". What
Bill Akins wrote:
>
> Hi all,
Hello,
> I have 2 hashes, the keys are a unique field. Hashes are built like this:
>
> open (INPUTFH, ) or die "Can't find allusers.chr file!\n";
> while ( $line = ) {
> #set values here here...
> }
> push ( @{ $NS{$BV_NF} }, $NS_Name, $NS_Cont, $W_Name, $V_F
Hi,
I am new to CGI. I just want to know if we can execute
an application/exe file on the winnt server using the
CGI script depending on the user form input over the
net.
Mike
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
h
Hi,
I am looking for some free webhosting services where
there is full support for CGI. Though, I checked out
few that offer free hosting service, there is a
limitation in cgi script support only till some
extent. I may not need much of free space but require
full cgi support. Can one suggest me f
Hi -
I thought I had a grip on this, but...
Most of my reading (Camel, perldocs, etc) suggest that
'require Foo::Bar' should be used instead of 'use Foo::Bar' within
modules. I am in the process of building a series of
modules for a project and am having problems with
'require'; does whoever uses
94 matches
Mail list logo