- Original Message -
From: Rahul Garg
To: [EMAIL PROTECTED]
Sent: Wednesday, August 01, 2001 11:04 AM
Subject: HTML related
Hello ,
What i want is a hyperlink after activated once get disabled..
I am using HTML/PERL
Can i use onClick event in hyperl
Hi Rahul
I am sorry to say that we always see you coming up with questions and no
efforts from you end. Either you are used to spoon feeding or just want to
get things done for free. This will not help you as well as the list in the
long run.
Thanks for your co-operation
Regards
Joel
Jamne
Hello ,
What i want is a hyperlink after activated once get disabled..
waiting for reply,
Thanx in advance,
Rahul
On Aug 1, Rahul Garg said:
>How can we disable the hyperlink?
This is an HTML question, and not related to Perl at all.
There are many ways of "disabling" a hyperlink.
* remove the tag
* comment out the tag
* remove the href= attribute of the tag
--
Jeff "japhy" Pinyan [EMAIL P
How can we disable the hyperlink?
> What i mean is that on certain condition if true the hyperlink to a
> particular perl script can be activated but if false cannot be
> activated(ie though the hyperlink is shown it doesnt work)just like there
is
> a DISABLE option in Button.
>
> >
> > > >
> >
Hi Brett:
Thanks for the reply.
At 12:08 PM 7/31/01 -0400, you wrote:
>On Tue, 31 Jul 2001, Ron Woodall wrote:
>
> > I'm trying to take a word from a file and naming a scalar with
> > that word. i.e. I find the word "target" in a file. I then need to
> > create $target = "xxx" an
On Wed, 1 Aug 2001, Greg Matheson wrote:
> I couldn't get that to work, trying on the Linux command line:
>
>
> [greg@localhost greg]$ perl -MCGI -le "print $CGI::VERSION"
Try it with single quotes:
[bmccoy@dragosani bmccoy]$ perl -MCGI -le 'print $CGI::VERSION'
2.74
-- Brett
On Tue, 31 Jul 2001, Casey West wrote:
> On Tue, Jul 31, 2001 at 08:31:01PM -0400, Quang Bui wrote:
> : I'm writing a paper on this email list and I need to
> : know the following:
> :
> : 1. Who sponsors this list?
>
> No one sponsors this list. There are several people behind the scenes
> wh
At 09:22 AM 8/1/01 +0800, you wrote:
>On Tue, 31 Jul 2001, Peter Scott wrote:
>
> > >How can you tell what version of a Perl Module you're using? i.e. CGI.pm
>
> > print $::VERSION, e.g. (Windows example):
>
> > C:>perl -MCGI -le "print $CGI::VERSION"
> > 2.56
>
>I couldn't get that to work, tryin
On Tue, 31 Jul 2001, Peter Scott wrote:
> >How can you tell what version of a Perl Module you're using? i.e. CGI.pm
> print $::VERSION, e.g. (Windows example):
> C:>perl -MCGI -le "print $CGI::VERSION"
> 2.56
I couldn't get that to work, trying on the Linux command line:
[greg@localhost greg
In my attempt to learn perl and make it do what I want. I am attempting to
convert some php code a friend of mine did a while back. Unfortunately,
with my knowledge of perl and php, this is a little over my head. If
anyone could look at the following code and tell me how to make it work in
Uncertain about File::COpy, but you might look at
http://www.xxcopy.com/ which may do what you want.
Wags ;)
-Original Message-
From: perl newbie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 18:00
To: [EMAIL PROTECTED]
Subject: Recursive directory copy
I have two di
On Tue, Jul 31, 2001 at 08:31:01PM -0400, Quang Bui wrote:
: I'm writing a paper on this email list and I need to
: know the following:
:
: 1. Who sponsors this list?
No one sponsors this list. There are several people behind the scenes
who work not for money or food, but because it's The Right
I have two diretories ( DATA and TEST). The data
directory has several subdirectories under it. I am
trying to find a Perl Module/function, that will allow
me to copy all of the contents of DATA into TEST.
Is there a module that comes with the standard PERL
distribution that will allow me to do t
I'm writing a paper on this email list and I need to
know the following:
1. Who sponsors this list?
2. What mail list manager (MLM) does the list use?
I think it's ezmlm.
3. Where can I find the FAQ and the archive of this list?
4. Is there a web site for this list?
I would appreciate any hel
On Tue, Jul 31, 2001 at 06:55:14PM -0500, CDitty wrote:
: At 05:44 PM 7/31/2001, you wrote:
: >On Tue, Jul 31, 2001 at 06:32:15PM -0500, CDitty wrote:
: >: In both my perl books. Learning Perl(O'Reilly) and Perl 5 Interactive
: >: Course(Waite Group).
: >:
: >: The shuffle routine in not listed i
Could be. It only says example. I'll try your example below
shortly. Thanks for helping.
Chris
At 06:35 PM 7/31/2001, Michael Fowler wrote:
>On Tue, Jul 31, 2001 at 06:05:18PM -0500, CDitty wrote:
> > Hello all. Just joined the list and after reading through the archives, I
> > couldn't fi
At 05:44 PM 7/31/2001, you wrote:
>On Tue, Jul 31, 2001 at 06:32:15PM -0500, CDitty wrote:
>: In both my perl books. Learning Perl(O'Reilly) and Perl 5 Interactive
>: Course(Waite Group).
>:
>: The shuffle routine in not listed in either of these books, although they
>: are almost 1 year old. W
On Tue, Jul 31, 2001 at 03:38:17PM -0700, Greg Tomczyk wrote:
> I was wondering if some one could assist me in something I am sure is
> simple for most. I am utilizing find2perl utility and implemented it into a
> perl script. However I would like to have the results of the find stored
> into an a
On Tue, Jul 31, 2001 at 06:32:15PM -0500, CDitty wrote:
: In both my perl books. Learning Perl(O'Reilly) and Perl 5 Interactive
: Course(Waite Group).
:
: The shuffle routine in not listed in either of these books, although they
: are almost 1 year old. When I try and use shuffle I get
: Und
In both my perl books. Learning Perl(O'Reilly) and Perl 5 Interactive
Course(Waite Group).
The shuffle routine in not listed in either of these books, although they
are almost 1 year old. When I try and use shuffle I get
Undefined subroutine &main::shuffle and my program stops.
Chris
At 0
On Tue, Jul 31, 2001 at 06:05:18PM -0500, CDitty wrote:
> Hello all. Just joined the list and after reading through the archives, I
> couldn't find an answer. I'm hoping someone can help.
>
> I have an array with 6 variables in it. I need to randomize the variables
> in this array. Accordi
At 06:05 PM 7/31/01 -0500, CDitty wrote:
>Hello all. Just joined the list and after reading through the archives, I
>couldn't find an answer. I'm hoping someone can help.
>
>I have an array with 6 variables in it. I need to randomize the
>variables in this array. According to the documentat
Hello all. Just joined the list and after reading through the archives, I
couldn't find an answer. I'm hoping someone can help.
I have an array with 6 variables in it. I need to randomize the variables
in this array. According to the documentation I have read,
rand(@display_pictures) shou
> I know this is simpler then what I am making it but I am stumped. I used
LWP::UserAgent to fetch some data from a
> web page, What I need to do is to load the data which I believe is just
one long string that I got from calling content()
> into an array of arrays by splitting on "\n" and ",".
[
On Tue, Jul 31, 2001 at 05:34:39PM -0500, Chris Garringer wrote:
> I have a program that has an array of days of the month, the array value
> $is a hash, the value of the hash is a hash, and its value is an array
> $logs[$day]{}{}[]
[snip]
> Can someone show me how I can print this out?
Why are y
Hello,
I was wondering if some one could assist me in something I am sure is
simple for most. I am utilizing find2perl utility and implemented it into a
perl script. However I would like to have the results of the find stored
into an array.
Basically I am trying to traverse a directory tree, and
I think that is right, I admit that Perl's data structures confuse me and I don' t
have it right yet.
I have a program that has an array of days of the month, the array value is a hash,
the value of the hash is a hash, and its value is an array
$logs[$day]{}{}[]
This structure works fine to loa
On Tue, Jul 31, 2001 at 10:21:47PM +0200, Matija Papec wrote:
> Michael Fowler <[EMAIL PROTECTED]> wrote:
> >Your restriction that it not use a for loop to construct the data is
> >needlessly limiting. There are several ways to do what you ask, one of them
> >is a for loop.
>
> I didn't like ide
--- "Randal L. Schwartz" <[EMAIL PROTECTED]> wrote:
> > "Paul" == Paul <[EMAIL PROTECTED]> writes:
>
> Paul> (And as always, if I fumbled something, please tell me. =o)
>
> No, that's a nice summary.
Thanks! ~grin!~
> This is why when people ask why we don't cover "multidimensional
> arr
> Hi, If someone can help me out please I wrote a perl script which
> opens two text files and then compares them and spit out the
> difference. It is an error checking program which runs on NT
> Platform. The first file has all the required processes listed and
> the second file lists current run
--- "Randal L. Schwartz" <[EMAIL PROTECTED]> wrote:
> (aside to the rest of the experts: Perl doesn't have multidimensional
> arrays, people. Let's please stop confusing the newbies by calling
> it that.)
A very good point. I hesitate to ask what how we *should* refer to it,
but the apparent
Michael Fowler <[EMAIL PROTECTED]> wrote:
>> @data[0] = ("", "", "");
>> #and
>> @data[1] = (1, 2, 3);
>
>This notation is almost certainly incorrect, what you probably meant to say
>is:
>
>$data[0] = ["", "", ""];
>$data[1] = [ 1, 2, 3];
You're right, I wrote a wrong syntax.
>> I want
Troy Denkinger <[EMAIL PROTECTED]> wrote:
>which indicates that the first array is empty. The problem is the undef of
>@temp. What you've put into @array is a reference to @temp. When you undef
>it, you're undefing the array that the reference in array points to.
>
>In any event, I can't figu
To read binary files, you need to understand read(), seek() and unpack(),
as well as the underlying binary structure of the file. Peeking into the
file with a hex editor will help distinguish the ASCII bits from the rest.
If you know the C code that creates the file, that can help a lot!
Luke
e
Just in case anybody else runs into this problem.
It turns out the machine I am working on has multiple OracleHomes. Using the
oracle tool to switch to the home where the database lives solved this
problem (I made ora8i the Primary home).
"David Kirol" <[EMAIL PROTECTED]> wrote in message
[EMAIL
On Tue, Jul 31, 2001 at 11:31:34AM -0600, Tyler Cruickshank wrote:
> Looking for some binary file help. I want to read, manipulate, and print
> (in ascii) a binary file on a solaris 7 machine. I have looked into and
> tried the binmode() function but this seems to be for older machines that
> di
Is this corret: From: Tiago Almeida Spritzer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 10:44 AM
> To: [EMAIL PROTECTED]
> Subject: Exec cgi
>
>
> Hi,
>
> Anybody help me with this question?
> I have two folders at the server, one with perl files
> and other with html f
> -Original Message-
> From: Tyler Cruickshank [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 1:32 PM
> To: [EMAIL PROTECTED]
> Subject: binary files
>
>
> Hello.
>
> Looking for some binary file help. I want to read,
> manipulate, and print (in ascii) a binary file on a
Ken & Karthik,
The same algorithm has worked for me even when I use subroutines to
push in the value to the variable in the foreach loop(which is in the calling
program). I really
doubt the
modularity of my program. I am now combining two of my
programs (one with no subroutine and other well or
At 11:23 AM 7/31/01 -0700, Michael Dube wrote:
>Howdy,
>
>I know that to determine the array length of @array, the following options
>are available:
>a) $#array (returns last index)
>b) scaler(@array) (returns true length)
>
>Now... if I have a multidimensional array, $array[$x][$y], how do I
>det
Hai Karthik,
Yes, I'm using Sun sparc m/c. I am not sure wether it is
caused by the m/c?? I also some times get a warning saying use of
uninitialised array, when the first element is null and there are valid
other elements. Is this also due to the same reason?
Regards,
Naren.
Karthik Krishnam
Hello.
Looking for some binary file help. I want to read, manipulate, and print (in ascii) a
binary file on a solaris 7 machine. I have looked into and tried the binmode()
function but this seems to be for older machines that differentiate between ascii and
binary files. I have tried the f
On Tue, Jul 31, 2001 at 12:36:37PM -0500, Mooney Christophe-CMOONEY1 wrote:
> Oh yeah, and another thing; i think
> for (my $i=0; $i<$n; $i++)
> is preferable to
> for my $i (0...$n-1)
> since the latter creates the entire array and then goes through the
> elements, instead of merely g
Howdy,
I know that to determine the array length of @array, the following options
are available:
a) $#array (returns last index)
b) scaler(@array) (returns true length)
Now... if I have a multidimensional array, $array[$x][$y], how do I
determine the array length for $array[$x]? I am trying to
How can I tell if my webmaster has the CGI-Bin directory setup properly?
Thanks
Todd.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have ActivePerl 5.22 installed on an NT server.
SendMail does not work. Is there a place I can download a sendmail component for perl
or something like that?
I really know very little about it. Any help is appreciated.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
Hi, Jerry
Thanks for quick response
I am quite new to perl
If you can guide me and let me know how it can be done and what will be the
syntax
It will be a great help
Thanks
-Original Message-
From: Jerry Preston [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 12:55 PM
To: Najamud
Junaid,
It looks to me that need to setup your bat and program to run as cron jobs.
This way you can control the time and date you want them to run.
Regards,
Jerry
"Najamuddin, Junaid" wrote:
>
> Hi,
> If someone can help me out please
> I wrote a perl script which opens two text files and t
'%found_one' starts off empty. Everytime we find a new element, we add one
to '$found_one{$_}' via '++'. Since '++' is postfix, it occurs AFTER the
value is returned. In otherwords, '$found_one{$_}++' returns the current
value and then adds one.
Now, if the current element has never been read
On Tue, 31 Jul 2001, Christiam Camacho wrote:
> Is the only difference between "and" and "&&" and
> "or" and "||" the precedence of the operators?
> In other words, how do these statements differ (e.g.:
> is any more efficient than the other?):
>
> open(FH,$in_file) or die "Couldn't open $in
I am using the Mail::IMAPClient module and the extension BodyStructure to
connect to Exchange Server 5.5. Everything seems to be working great ( I
love this module ) except for one thing. When I use the BodyStructure
extension, either nothing is being returned in the object or I don't know
how
hi,
hmm...i'll try backing up a bit. basically this is what i want to do.
a webpage that screens for stocks. variables from the webpage is sent
to a perl script which displays (in html format) charts based on the values
and parameters passed.
the perl script calls upon another script to
On Tue, Jul 31, 2001, Birgit Kellner wrote:
> --On Dienstag, 31. Juli 2001 08:13 -0400 "Jeff 'japhy/Marillion' Pinyan"
> <[EMAIL PROTECTED]> wrote:
>
> Thanks for the information. If it is indeed necessary to have unique
> fields, I reckon I could just use the database key as a name of the inpu
Rommel,
Please wrap your lines at 75 or 80 columns; it makes things much more
readable!
You wrote:
> I had problems with O/I in Perl way of programming. When I used
> shell scripts it was very easy I put only in this form "./build_aux
> $1 > $file 2>&1&" and I got a file with standard error as w
Hi Franck
If copy is doing what I suspect, that could be your problem. I'm guessing
that the function is "copy ('old_file', 'new_file')", rather than, as you've
used it "copy('new_file', 'old_file')". If that is the case (check the
File::Copy documentation) then what your program would seem to do
COLLINEAU wrote:
> copy("lmi/concat.htm","lmi/concat2.htm");
> unlink("lmi/concat2.htm");
>
> there are two problems: the instruction s///i doesn't work
I don't know about this one.
> copying files doesn't work too.
>
The problem here is you are doing the copy, with
copy("lmi/concat.htm","lm
Hi,
I am one of the beginners list's many voyeurs. Can you explain your code?
Where does the "%found_one" hash get its initial value? I understand that
"@_" represents the list that was passed to the subroutine and that "$_" is
the current list element for each loop iteration. Does your code a
Hello all,
If anyone could shed some light on this I would be in there debt. I know
what the BIG problem is...these scripts where written in perl5.004 and we
have moved or are moving to 5.6.0, but I don't know where to start looking
to fix the code so that is works with 5.6.0.
Th
I believe you're looking for Image::Magick from CPAN (www.cpan.org)
-Original Message-
From: Matt Behrens [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 11:19 AM
To: [EMAIL PROTECTED]
Subject: perl and graphics
Hi all-
I'm currently trying to find a way to batch the conversion
Take a look at the ImageMagick module.
http://www.simplesystems.org/ImageMagick/www/perl.html
-Original Message-
From: Matt Behrens [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2001 17:19
To: [EMAIL PROTECTED]
Subject: perl and graphics
Hi all-
I'm currently trying to find a way to batch
On Tuesday 31 July 2001 15:14, mlists wrote:
> How can you tell what version of a Perl Module you're using? i.e. CGI.pm
Hopefully the kind author has defined the $VERSION variable in the module.
Thus:
print $CGI::VERSION;
will give you the version for CGI.pm.
Regards,
Troy Denkinger
> Bob Mangold <[EMAIL PROTECTED]> said:
> This is somewhat alarming to me because I hadn't realized this potential
> before, but is there an easy way to check what is being opened. Would using a
> -f() or -d() to verify that you were actually opening a file or directory do
> the trick?
Be mindfu
Hi all-
I'm currently trying to find a way to batch the conversion of thousands of
tiff files to jpg files. I have written perl before, but I haven't been
able to find much on graphics with PERL. Is this possible? Is it worth the
time to try it? Any helpful hints?
Thanks for any comments!!
At 12:14 PM 7/31/2001 -0700, mlists wrote:
>How can you tell what version of a Perl Module you're using? i.e. CGI.pm
print $::VERSION, e.g. (Windows example):
C:>perl -MCGI -le "print $CGI::VERSION"
2.56
Peter Scott
[EMAIL PROTECTED]
http://www.perldebugged.com
--
To unsubscribe, e-mail
Hi,
If someone can help me out please
I wrote a perl script which opens two text files and then compares them and
spit out the difference. It is an error checking program which runs on NT
Platform. The first file has all the required processes listed and the
second file lists current running proce
How can you tell what version of a Perl Module you're using? i.e. CGI.pm
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
you seem to be using a SUN SPARC. A bus error is often induced on these architectures
when pointer
access is not aligned on word boundary.
whether this is caused by the Perl binary itself or the script i don't know
/kk
On Tue, Jul 31, 2001 at 04:39:54PM +0530, Narendran Kumaraguru Nathan wrot
On Jul 31, Christiam Camacho said:
> Is the only difference between "and" and "&&" and
>"or" and "||" the precedence of the operators?
&& has higher precedence (it binds more tightly) than 'and'.
$x = 2 and 5; # ($x = 2) and 5;
$x = 2 && 5' # $x = (2 && 5);
--
Jeff "japhy" Pinyan
Hello,
Is the only difference between "and" and "&&" and
"or" and "||" the precedence of the operators?
In other words, how do these statements differ (e.g.:
is any more efficient than the other?):
open(FH,$in_file) or die "Couldn't open $in_file: $!"
open(FH,$in_file) || die "Couldn't open
> Elie De Brauwer <[EMAIL PROTECTED]> said:
> use DBI;
> $dbh = BDI->connect('DBI:mysql:databasename:database:host','username','pass')
> or die $DBI::errst;
>
> Now my problem is the following, in order to connect you have to know the
> databasename but I want it to be that the users get a lis
On Tue, 31 Jul 2001, Ron Woodall wrote:
> I'm trying to take a word from a file and naming a scalar with
> that word. i.e. I find the word "target" in a file. I then need to
> create $target = "xxx" and various other variables related to target.
> Any suggestions?
Create a hash containing
Hi:
I'm trying to take a word from a file and naming a scalar with that word.
i.e. I find the word "target" in a file. I then need to create $target =
"xxx" and various other variables related to target. Any suggestions?
Thanks for the help.
Ron
--
To unsubscribe, e
On Tue, 31 Jul 2001, Peter wrote:
> i am trying to call a c program (main.exe) using these.
> the c program resides in a different machine from the script.
>
> the comline scalar just adds on different parameters for the program.
>
> i feel like im doing something wrong with my system call. is
When I remove the incomplete elsif this runs fine on my system (with an
added line before the while to read in @line @line =
scalar();)
What version of Perl are you running? Did you install it? Did it past all
of the tests?
Can you send us a complete sample program that gives this same error?
> -Original Message-
> From: Tiago Almeida Spritzer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 10:44 AM
> To: [EMAIL PROTECTED]
> Subject: Exec cgi
>
>
> Hi,
>
> Anybody help me with this question?
> I have two folders at the server, one with perl files
> and
> -Original Message-
> From: Tiago Almeida Spritzer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 10:44 AM
> To: [EMAIL PROTECTED]
> Subject: Exec cgi
>
>
> Hi,
>
> Anybody help me with this question?
> I have two folders at the server, one with perl files
> and
hi all,
i am trying to call a c program (main.exe) using these.
the c program resides in a different machine from the script.
the comline scalar just adds on different parameters for the program.
i feel like im doing something wrong with my system call. is a call to
a url allowed?
---
Hello!
I have a problem with this code:
#!/usr/bin/perl -w
use File::Copy;
open (CONCAT,"lmi/concat.htm") || die "impossible d'ouvrir concat.htm:
$!\n";
open (CONCAT2,">lmi/concat2.htm") || die "impossible d'ouvrir concat2.htm:
$!\n";
while()
{
s///i;
print (CONCAT2 $_);
}
close
You're actually very close. I would just change a couple of things.
First of all, you don't need @data as well as @rows. $element is aliased to
each element in the array as it loops, so you can re-assign right back into
the same array when you split. This will cause the loop to independent of
This is somewhat alarming to me because I hadn't realized this potential
before, but is there an easy way to check what is being opened. Would using a
-f() or -d() to verify that you were actually opening a file or directory do
the trick?
-Bob
--- Mooney Christophe-CMOONEY1 <[EMAIL PROTECTED]> w
I know this is simpler then what I am making it but I am stumped. I used
LWP::UserAgent to fetch some data from a web page, What I need to do is to load the
data which I believe is just one long string that I got from calling content() into an
array of arrays by splitting on "\n" and ",".
Lik
On Tue, 31 Jul 2001, Customer Service wrote:
> I was reading a reply to a question this morning that stated that the open()
> call is a big security hole because someone could put in ";rm -rf ." as the
> value for $email.
> What does ";rm -rf ." do? Why is it so dangerous?
rm -rf deletes every
Actually, open is only a security hole if you allow the user to tell you
what to open at the command line.
i don't have the exact message in front of me, but my guess is that someone
said something like:
$_=;
open(IN,"$_|");
In which case if the user entered 'rm -rf /', it would try to delete
e
Hi,
Anybody help me with this question?
I have two folders at the server, one with perl files and other with
html files. I need that the page index.html execute perl file, and I know
that this TAG do that . But I try and don't obtain
any result.
Regards,
Tiago Almeida Spritzer
IBM
'rm -rf .' is a unix command that removes everything in the current
direcotry PERMANENTLY and UNCONDITIONALLY
-Original Message-
From: Customer Service [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 9:44 AM
To: Perl Beginners
Subject: Security Question
Dear Sirs,
I first of all
Lightning flashed, thunder crashed and Narendran Kumaraguru Nathan whispered:
| Now, the way I have implemented is below
| foreach (@line) {
| if ( $_ =~ /\.\./) { # if the input has two consecutive .'s
| ($s, $e) = split /\.\./, $_; # split with the dots to get start and end
| p
Dear Sirs,
I first of all wanted to apologize about sending so many redundant questions
to the list. I wasnt aware that my wife was downloading my mail also and I
didnt see all of your replies to previous questions. Wont happen again
;-))
I was reading a reply to a question this morning that
Lightning flashed, thunder crashed and COLLINEAU Franck FTRD/DMI/TAM whispered:
| I have a file where there is a line whitch begans by the string "".
| I would like to remove the string "" by nothing.
| How can i do ?
I'm pretty sure a question almost exactly like this was asked and answered
yes
Hello all,
If anyone could shed some light on this I would be in there debt. I know
what the BIG problem is...these scripts where written in perl5.004 and we
have moved or are moving to 5.6.0, but I don't know where to start looking
to fix the code so that is works with 5.6.0.
Th
> -Original Message-
> From: Mooney Christophe-CMOONEY1 [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 9:44 AM
> To: [EMAIL PROTECTED]
> Subject: RE: check array element (HELP)
>
>
> I would probably do this, although i'm sure some smarty-pants
> could come up with a one-lin
On Tue, 31 Jul 2001, Santosh M Hulkund wrote:
> Program.
> #!/usr/bin/perl -w
> @foo = qw ( s a n t o s h )
>
>Now I want to store the 2nd and 5th element ( i.e. n and s ) from
> the array foo to array fo. How do i do it ?
>
> @fo = $foo[ what do i type here]
Try this:
@fo = @foo[2,5];
al
-Ursprüngliche Nachricht-
Von: Santosh M Hulkund [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 31. Juli 2001 16:02
An: [EMAIL PROTECTED]
Betreff: How do I extract 2 elements
Hi,
I am new to perl, this is question is very silly and stupid. S
What do you mean by "How can we disable the hyperlink?"
al
-Ursprüngliche Nachricht-
Von: Rahul Garg [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 31. Juli 2001 15:24
An: [EMAIL PROTECTED]
Betreff: simple
Hello,
How can we disable the hyperlink?
Waiting for Reply,
Thanx in advance,
R
@fo=@foo[2,5];
^
-Original Message-
From: Santosh M Hulkund [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 9:02 AM
To: [EMAIL PROTECTED]
Subject: How do I extract 2 elements
Hi,
I am new to perl, this is question is very silly and stupid. So,
Please spare me..
Hi,
I am new to perl, this is question is very silly and stupid. So,
Please spare me.
Program.
#!/usr/bin/perl -w
@foo = qw ( s a n t o s h )
Now I want to store the 2nd and 5th element ( i.e. n and s ) from
the array foo to arra
Does anyone know how to zip files with Perl on a windows platform?
I have a couple of directories that I want to zip up and archive
periodically.
Thanks!
richf
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I would probably do this, although i'm sure some smarty-pants could come up
with a one-liner ;)
sub repeated_elements
{
my %found_one;
for (@_)
{
return 1 if $found_one{$_}++;
}
return 0;
}
if (repeated_elements @whatever)
{
# ther
Hello,
How can we disable the hyperlink?
Waiting for Reply,
Thanx in advance,
Rahul
--- Erhalten von ZBM.ZAGTA 089/32000-414 31-07-01 15.28
hi All,
I have an array of 0...n elements.
I want to check that each element of the array,
must be different to each other.
if it is so -> error,
else -> go on.
please,
Can somebody help me,to write this code.?
thank
1 - 100 of 111 matches
Mail list logo