We have a manual process in place to create Excel worksheets that contain
bar charts. I'm trying to automate this process using perl. The problem is
that I don't know how to access the underlying formulas, in Excel, that
generate the charts. Our current process is as follows:
1) Generate a space s
inks to point to the old
modules?
Or is there more to it than that?
Thanks again!
-Original Message-
From: Richard Fernandez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 10:26 AM
To: [EMAIL PROTECTED]
Subject: upgrading perl
I have a box that's running perl version
I have a box that's running perl version 5.005_03 and I'ld like to upgrade
to the latest version.
What's the best way to accomplish this and maintain access to my currently
installed modules?
I'm doing this on a SUN box. Also, this particular box is behind a firewall
and doesn't have internet con
I just had a situation where I needed to replace one string with another
string in 200 files.
This is what I came up with, but I know there has to be a better way. Below
is my code.
"myfiles" contains a list of the files I need to scrub, one per line.
---8<-8<-
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
If you haven't seen it yet, O'Reilly has a wonderful tongue-in-cheek
article titled "How Perl Powers Christmas".
http://www.perl.com/pub/a/2002/12/18/hohoho.html
Rick
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Good Evening,
Wondering what list I should send a question to regarding CPAN modules, in
particular, the intitial config file.
Ignore the rest of this lengthy diatribe if this is not the correct list.
:)
When I loaded my first module, actually a bundle, I used:
perl -MCPAN -e 'install "Bundl
Hi,
I'm trying to read in a password from the command prompt, but want to either
mask the typed characters with the '*' character, or 'disconnect' the input
from the screen so the characters don't appear at all, but the input is
still captured.
The systems I'm using are Win32, and I'd rather not
Sorry to have incensed many of you with what was a genuine oversight in
omitting a subject.
Richard
> Jenda, et al --
>
> ...and then Jenda Krynicky said...
> %
> ...
> % I would like to ask all the people who invest their time and answer
> % the questions in this lis
Thanks, that's a neat trick - I hadn't realised you could still capture
things from within a lookahead.
Richard
> On Jun 24, Richard Adams said:
>
>> @peptides = $sequence =~ /(\w{4}S\w{4})/g;
>>
>> this works up to a point, but if there are 2 adjacent
't extract DFRSSSGHY above.
. Is it possible to try the next match from
within the previous match to remedy this?
Thanks for any tips or flashes of inspiration,
Richard
--
Dr Richard Adams
University of Edinburgh
Kings Buildings,
Mayfield Rd,
Edinburgh
Email [EMAIL PROTECTED]
--
To
Many thanks,
The fog has lifted and all has become clear...
Richard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ng it within a block of the
current package?
Any help in clearing the fog from my brain greatly appreciated...
--
Richard Adams
University of Edinburgh
Kings Buildings,
Mayfield Rd,
Edinburgh
EH9 3JR UK
Email [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all
Is there something wrong with perl.beginners.cgi? No new postings since 28th
may and I posted hours ago and my message isn't showing up. Is there a
adress to report this to?
Regards
Richard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
es for this
email). You can see that on line 56 I want to pass the values to the new
reprint.cgi. That is where I'm having problems. They won't pass.
I would appreciate any help anyone can give.
Richard J. Moyer III
[EMAIL PROTECTED]
01 #!/usr/bin/perl
02
03 print "C
try die $returned; just before the other code and you'll probably find
nothing is being passed to $returned
-Original Message-
From: Craig Moynes/Markham/IBM [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 12:30 PM
To: [EMAIL PROTECTED]
Subject: String with no contents and length o
&produce_error(
I tried writing this is the data.pl
$DATA_file="data.pl";
Is there a way i can hide it in the CGI that writes the Html form page or
what ???
HELP
Richard L. Buskirk
Software Developer/Web Developer
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
You better get started building then!
Richard L. Buskirk
Software Developer/Web Developer
-Original Message-
From: Jonathan E. Paton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 12:45 PM
To: [EMAIL PROTECTED]
Subject: Re: lynx
> I need an example on how I can script lynx
ails, 3, 1; #get rid of unwanted middle name field
}
push @list, [@details]; #make array of arrays.
}
foreach (@list) {
foreach (@$_) {
print "$_:"
}
print "\n";
}
--
Dr Richard Adams
Chromosome S
and then sort the "array of hash maxima"
separately, while maintaining the key/value associations?
Thanks a lot for any suggestions!
Richard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for all your help...I just forgot the sort in my post...
The reason it wasn't working wasn't the sort, it was just that $AoA[0] was
undefined..
But sort {$a->[2] <=> $b->[2]} @AoA[1..$#AoA] works just fine.
Thanks again!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
hould look like:
1: 87
2: 23
3: 12.4
I've tried
@sorted = {$a ->[2] <=> $b ->[2]} @AoA but this gives a "cannot
modify.."error.
I've a feeling this is really trivial but have got abit bogged down with
it...
Thanks in advance
Ric
Below is some sample code which I hope will illustrate the problem I am
facing.
#!/usr/local/ActivePerl-5.6/bin/perl5.6.1 -w
use Tk;
use Tk::Dialog;
use strict;
##
my $mw = MainWindow->new;
use subs qw/file_menuitem/;
$mw->configure(-menu=>my $menu
. Also I find the exercises in the
deitel book for C very useful for getting the syntax firmly learned.
This is my first post so hope it's suitable,
--
Dr Richard Adams
University of Edinburgh
Kings Buildings,
Mayfield Rd,
Edinburgh
Email [EMAIL PROTECTED]
<http://www.ed.ac.uk/~rradams/pas
ng special. To dump a
> > hash, do something like:
> >
> > for (keys %hash) {
> > print "$_ => $hash{$_}\n";
> > }
>
> we of course presume that Richard already remembers two
> small niggline details:
>
> ### while ( )
> ###
f 'japhy' Pinyan wrote:
>
> > The hash is not empty -- printing "%foo" does nothing special. To dump a
> > hash, do something like:
> >
> > for (keys %hash) {
> > print "$_ => $hash{$_}\n";
> > }
>
> we of course
Jeff -
Thanks for your reply. Now, on to solve the remaining problems.
Dick Fell
Jeff 'Japhy' Pinyan wrote:
>
> On Apr 26, richard noel fell said:
>
> >Below is part of some code that reads from a file to an array and then
> >attempts to assign
Below is part of some code that reads from a file to an array and then
attempts to assign the array to a hash. I get no compiling errors, but
%label_hash is empty. No doubt I am being stupid. Has anyone a
suggestion how to fill the hash variable?
Thanks,
Dick Fell
open LABEL_FILE, "$cur
Nikola -
An interesting point. Perhaps you are onto something, but an eval where
you suggested does not work. However, you comments lead me to other
ideas to try.
Thanks,
Dick
Nikola Janceski wrote:
>
> I can't make sense of the code. Sorry, but this is what I see looking back..
>
> [
$test_path\n";}]}
@test_files];
}
}
}
Nikola Janceski wrote:
>
> how are using this subroutine in your code?
>
> Can you give us the line where you use this sub, Tk is bit picky at times
> when you try funky things.
>
> > -Origina
return
> only the file names, not the full paths, so "grep {-f "$tests_directory/$_"}
> readdir TESTS_DIR;" might not be returning anything. But then again I'm not
> a huge grep user, so I could be wrong.
>
> -Original Message-
> From: richard n
Below is a subroutine that is part of a perl/Tk script. The variable
$test_path is initialized earlier to the empty string and the variable
$tests_directory is likewise initialized to the correct directory. The
array @test_files contains entries such as (test1, test2, ..) and is
correctly set by
Felix -
Thanks for the very clear explanation.
Dick
Felix Geerinckx wrote:
>
> on Thu, 18 Apr 2002 12:56:43 GMT, [EMAIL PROTECTED] (Richard Noel Fell)
> wrote:
>
> > However, I do not understand your
> > comments about the return value of map. Does not map r
gt; On Wednesday, April 17, 2002, at 02:09 , richard noel fell wrote:
> [..]
> > sub create_menu_bar
> > {
> > my $mb = $MW->Menu();
> > $MW->configure(-menu=>$mb);
> > opendir DIR, "./" or die " cannot open current directory: $!"
What I am attempting to do is write a perl script that reads the
sub-directories of the current directory, creates a menu bar with the
sub-directories as the titles of cascade widgets and then goes into the
sub-directories, read the files there and creates command widgets with
the file names as t
If in a subroutine, I have a statements
sub
{
my $local_var=1
$local_var=$local_var+1;
}
then the next time I run this subroutine, $local_var is reinitialized to
1. However, I would like to have it retain its value from the previous
call to the subroutine. For example, if $local_var
likely faster than
repeating a O(n) foreach multiple times. (You could modify the foreach
to return multiple values upon iterating the list once, but that would
sacrifice significant clarity.)
+ Richard J. Barbalace
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
John -
Thank you for your explanation. A stupid mistake on my part.
Dick Fell
John Edwards wrote:
>
> Sorry. That should have been prepend.
>
> -Original Message-
> From: John Edwards [mailto:[EMAIL PROTECTED]]
> Sent: 11 April 2002 12:47
> To: '
Below is sample code that does not work as I intend, the intention being
to list all the sub-directories in a given directory.
#!/usr/local/ActivePerl-5.6/bin/perl5.6.1 -w
use strict;
my $mw;
my $menubar;
my $algebra;
my @file_array;
my $dir_to_process = "/home/rfell/mathprogram";
opendir DH, $
Greetings,
I am having a problem with Perl providing me the correct date when I
subtract 86400 from the date. This is only happening when I set the
computer's system's date to today's date. If I set the system's date to
tomorrows date or yesterday's date it works fine. My code is:
$TIME = time
This is a problem for us historians. I would hope that perl designers, among others,
are thinking about wide date ranges...
Thanx,
Smiddy
( About that log message from AD 61, ... )
-Original Message-
From: Michael Kelly [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 11:42 AM
Jenda -
Thank you for you very clear explanation.
Dick Fell
Jenda Krynicky wrote:
>
> From: richard noel fell <[EMAIL PROTECTED]>
>
> > Here is an abridged version of what I am trying to do which is:
> > 1) write to a file in one subroutin
Here is an abridged version of what I am trying to do which is:
1) write to a file in one subroutine
2) write the contents of the original file to another file in a
separate subroutine.
However, I get the error message:
Use of uninitialized value in string at ./scratch2.pl line 24,
line 1.
Us
Looks like you need to declare my $dbh, my $action, my $passwd up where
you've declared the others or just turn off strict.
To debug your database statement try: die $action to see what the script is
sending to the database
-Original Message-
From: Michael Gargiullo [mailto:[EMAIL PROTEC
Here is a subroutine that prints strings to a file. I want the routine
to write strings to the file in the format
Question1:factor(x^2+4*x+3)=(x+3)*(x+1).
However, what is written to file is
Question1:factor(x^2+4*x+3)
=(x+3)*(x+1), that is,
a newline before the = sign. Is there some way of inhib
Actually, it is a *NIX thing. There are non-blocking ways to reap
children, at least in most modern *NIX systems. You probably also want to
look at the documentation for the wait() function. It may explain why your
experiment appeared to work. Anybody know how to do non-blocking waits in
p
I have this script that checks processes on aix box.
My question is within the subroutine. If the process
is not running the return code is 256. How do prevent
it from sending multiple alerts to a pager? What I
want it do is send 1 page at a time for multiple
events.
Piece of my script:
$tel
Well from a beginner's point of view, plus the KISS priciple I'd say you
should keep your data in a database like MySQL. You would then organize the
data by:
USERNAME FULLNAME COMPANY OWING
username1 fullname1 company1 owing1
username2 fullname2 company2 owing2
Where you access the d
Heh heh! That's OK. Just buy us all a round at some pub when we go across
the pond!
-Original Message-
From: Matthew Harrison [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 4:34 PM
To: Michael Fowler
Cc: [EMAIL PROTECTED]
Subject: Re: joining 2 strings
after all this, it was a
This may not be it but did you check the database to see what info is being
passed to $record = $results[0]; or you can check the HTML page that $word =
param("word"); gets its info from?
-Original Message-
From: Matthew Harrison [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 4:0
Looks like eiter $record or $word is a scalar where perl is looking for an
operand. try:
die $record;
or
die $word
to see what the data is. You can only use the "." to concatenate strings.
-Original Message-
From: Matthew Harrison [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 20
This program worked for me:
#!/usr/bin/perl
$stringa = "apple";
$stringb = "banana";
$stringc = $stringa . "," . $stringb;
print "$stringc\n";
-Original Message-
From: Matthew Harrison [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 3:40 PM
To: [EMAIL PROTECTED]
Subject: join
I'm not clear on what you're trying to match for. Is it:
Exactly one digit, followed by exactly any two characters, followed by zero
or more digits?
-Original Message-
From: David Gray [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 12:58 PM
To: [EMAIL PROTECTED]
Subject: Regex
et a valid
date here)
$msg = new MIME::Lite
From=> $from,
To => $to,
Date=> $date,
etc
Does anybody know the rules regarding the date field and what it
expects.
I cannot find the key info I require on CPAN.
Any info greatly rece
In *nix, he child process inherits the nice value of the parent process,
and, unless the process owner is the super-user, the child process cannot
be given a higher priority. This would also apply to calls to system() and
backticks, since they all basically use the same mechanism. It also
ap
Good Afternoon,
Wondering if anyone could help me with this or
enlighten me on another way to go about it.
I have a string that has various white space
(tabs, spaces, etc) at the end of it. I want to
find the last real char [0-9a-zA-Z] and then use
chop or chomp to remove the whitespace.
I've
My Perl doesn't know what strlen is. Is it part of a module?
Oops. Don't get your perl mixed up with your C, Smiddy.
I meant length($_)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Folks,
This got me wondering. Is the behavior you see caused by limitations for $_, or by
limitations of the print function? You might try:
print strlen( $_ ), "\n";
Thanks,
Smiddy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Below is a simple script which I am using as part of my attempt to learn
how to program a gui with perl and Tk. I have copied the program from a
book, "Cross Platform Perl" (not very good, but some isolated good
parts), but get the following error message when I try to compile the
program. Has any
Is there a perl function that reads one character at a time from a
string and and returns that character? Something like the following:
$Line = some string;
foreach ($Line){
$char=read_char($_);}
Thanks,
Dick Fell
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
I have the following bit of code:
#!/usr/bin/perl -w
open In2,"/home/rfell/tutoring/beaven/webproject/tmp/maxima_log" or die
"Cannot open maxima_log:$!";
my $Line;
while (defined($Line=)){
if($Line=~/(\(D\d+\))\s*(\w*)/){
print "==> $2\n";
};
};
#close In2;
maxima_log is the following
GCL (
Try the fields module. This sounds like an ideal place to use a pseudo-hash
Thanx,
Smiddy
..
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Jenda,
I have had problems using "my" when refering to File Handles, especially
when I wish to pass them to subroutines. I have also had problems
declaring them with $ or @, and have been
forced to use:
local *logHandle;
Is this because I am declaring the actual filehandle, and not a refer
> $newsocket[$i] = IO::Socket::INET->new("$address") or die $@;
How are you declaring "newsocket"? I would probably decare it as "local" rather than
as "my".
Worth a try anyway. Unfortunately I can't try it here.
Thanks,
Smiddy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
=$?;
&logmesg("$telreturn","Urgent telalertd process (on $host) indicates the
process is down");
##2) check other ars process
if (telreturn != 1) {
}
elsif (telreturn == 1)
{
Thanks,
Richard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Hi Jess,
Tied variables might work, but I was also browsing CPAN this afternoon, and
I noticed that there is a whole SAS module under "Commercial Software". I
have no idea what it does, but you might find it interesting to look at.
Thanx,
Smiddy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
IL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> --
> To unsubscri
You might try splitting on quotes first., e.g.
my @quotes_array = spilt /"/, $input;
my @final_array;
# Array members with odd idices will be quoted strings, split others on comma.
for ( my $index = 0; $index < @quotes; $index++ )
{
if ( $ind
Hi Folks,
I posted this awhile back, but then had problems with my mailer and saw no
responses.
I have also attempted to clarify the froblem.
When I run the following program under Linux ( Red Hat 7.1, Perl 5.6.0 ) it
works fine.
If I run the program under Solaris, it fails with "Bad File Numbe
Good Morning,
I have what I think is a trick question and is causing me a bit of trouble:
My command line looks similar to this:
command.pl-r"z:\Tech Team" -p"/Tools Team" -f"File Found Today.txt"
-v"RDP 1.2_A"
What I'm trying to check for is to make sure when people run my script, the
Hello,
Trying to get STDERR to not print to the screen but rather to a file, or
better yet, an array.
Easy to do in UNIX (because I know how, of course):
vcs -v >file.out 2>&1
but how would I do it in Perl? I've tried a few variations of: print
... but seem
to keep hitting dead ends.
Hi Chris,
Thanks for the tip. My script works like a charm now!
Cheers,
Richard
On Fri, 1 Feb 2002, Chris Weyn wrote:
> Richard,
>
> the bash shell script I used to do that was the following:
>
> /sbin/ifconfig eth0 |grep inet |cut -d ' ' -f12 | cut -d ':
Can I comment an entire block of code with comments at
just the beginning and end of the block instead of having
to put a # at the beginning of each line? If so, what is the
symbol?
Thank You!
-Richard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I'm looking for a way to grab just the IP address from an ifconfig command
then send that variable out to an email address via a sendmail process.
Does anyone have any ideas how to write this little script?
Thanks,
Richard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
I have been unable to find a source for the tk module. My google
searches have been fruitless. Does anyone have a pointer to a tk.rpm for
redhat linux 7.1?
Thanks,
Dick Fell
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
server, which supports cgi.
>
> Naveen Parmar wrote:
>
>> Hello,
>>
>> My activeperl installation was fine. When I try to run my example Perl
>> scripts within IE, the browser does not even recognize them??
>>
>> Any ideas???
>>
>> - NP
past year, so you might ask the author if he has a
newer version, or is working on one.
+ Richard J. Barbalace
Cambridge, MA
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
f the book holds them they must
> be very detailed. I'm oriented in programming net stuffs with perl.
> Thanks in advance.
>
>
>best regards,
>
>sofit
Sliante,
Richard S. Crawford
http://www.mossroot.com
AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
MSN: [EMAIL PROT
without inserting a label or using
a goto? Assume the code that might trigger the error (the eval block
or equivalent) is given to me.
> P.S.: You come from VB? "On Error Resume Next", "On Error
> Goto errHandler" and "Resume Next" ... I've never got used to
w the exception is caused. Can anyone recommend a
technique to do this type of resumptive exception handling in perl? I
suspect it involves something more complicated than an eval {BLOCK} form.
Thanks.
+ Richard J. Barbalace
Cambridge, MA
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tion handling in Perl? I have
code that allows redoing the entire eval block or simply continuing
after the eval block, but I have not found any way to resume inside
the eval block.
+ Richard J. Barbalace
Cambridge, MA
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a directory containing over 250 HTML files. What is the best way to
extract the title (between the and tags) of each file
without having to open the file and read in the contents, which seems like
it would be very slow?
Sliante,
Richard S. Crawford
http://www.mossroot.com
AIM
Apache (I'm running 1.3)?
Sliante,
Richard S. Crawford
http://www.mossroot.com
AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
MSN: [EMAIL PROTECTED]
"It is only with the heart that we see rightly; what is essential is
invisible to the eye." --Antoine de Saint Exupéry
"Pu
>subreplace
>{
>use $ref -> [X] = "cm498p"
>}
>replace (/@Classes);
>print @Classes;
Sliante,
Richard S. Crawford
http://www.mossroot.com
mailto:[EMAIL PROTECTED]
AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
"It is only with the heart that we see rightly; what
the same machine as
the original user, which might make it less useful.
There are various ways to do the above. Talk to your local security
expert for more ideas.
+ Richard J. Barbalace
<[EMAIL PROTECTED]>
Cambridge, Massachusetts, USA
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
How about
chomp($character=);
?
At 11:13 AM 11/14/2001, samuel wrote:
>print"\nCharacter?:";
>$character= ;
Sliante,
Richard S. Crawford
http://www.mossroot.com
mailto:[EMAIL PROTECTED]
AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
"It is only with the hear
ngs
to this list. I certainly won't remember where everyone is from
otherwise, and it is useful to note a poster's location and time zone
difference.
+ Richard J. Barbalace
[EMAIL PROTECTED]
Cambridge, Massachusetts, USA
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
~+mâ â¹
>â ¡¹Ãâw«Jâ¡ÃêÃB楊Ãâ¬Â²Ã«jwJâÅâ°Â©b²Ã
>\câ>º¹ÃUz¸Ÿâ°ÃÂÅ â°ÃzÃb
Sliante,
Richard S. Crawford
http://www.mossroot.com
mailto:[EMAIL PROTECTED]
AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
"It is only with the heart that we see rig
a nice town.
At 11:25 AM 11/9/2001, Christopher Solomon wrote:
>But you must get to meet so many great people! Is the cruise ship you
>refer to, a Geek Cruises conference?
Sliante,
Richard S. Crawford
http://www.mossroot.com
mailto:[EMAIL PROTECTED]
AIM: Buffalo2K ICQ: 11646404 Y!: r
imezone).
>
>Am I right?
>
>I'm from Quebec, Canada.. and you?
Sliante,
Richard S. Crawford
http://www.mossroot.com
mailto:[EMAIL PROTECTED]
AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
"It is only with the heart that we see rightly; what is essential is
invisible to th
'and' and &&, if the first part ($client ne $newclient) is false, the
whole condition must be false, so the second part ($method ne
$newmethod) is not evaluated. Similarly for 'or' and ||, if the first
part is true, the whole condition must be true, so the second part is
not evaluated.
+ Richard J. Barbalace
(a little behind on the list digests)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
n/"
>
>(or your path to cgi-bin)
>
>Then you have right under that:
>
>
> AllowOverride None
> Options None
> Order allow,deny
> Allow from all
>
>
>this is usually located right before the tag
>
>Maybe that's the reason
>
Done... but is there then a way to get to the script directly, so that I
can browse to http://localhost/cgi-bin/perltest.pl ? I get a 404 error
when I try..
At 09:54 AM 10/24/2001, Etienne Marcotte wrote:
>You need to put the pl file in /cgi-bin/
>
>Etienne
>
>"Richar
you have the full path in the shebang line?
>
>Etienne
>
>"Richard S. Crawford" wrote:
>
> > I've got Apache running on this Win2K box, as well as MySQL. I can make
> > PHP talk to MySQL, and I've managed to get Tomcat up and running and
> > talk
I've got Apache running on this Win2K box, as well as MySQL. I can make
PHP talk to MySQL, and I've managed to get Tomcat up and running and
talking to Apache as well, but I seem to be at a loss when getting Perl to
talk to Apache. Any help would be most appreciated.
Sliante,
The editing dept does a Save As...*.html on all the MS-Word files we
publish. However, in the process, each line in the new HTML file now ends
with a paragraph mark. So, I am trying to write a script that deletes HTML
tags over new lines (which I got to work), but also over paragraph marks.
Wha
steps to follow so I can understand what needs to be
done?
I'm running PERL 5 on a UNIX machine and have the database on the same
machine.
Any help, gratefully received.
Thanks
Richard.
Richard Mace
E-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tname, however, there's no reason not to use an array of hashes.
To print out the data you can do something like:
foreach my $hostname (@hostnames) {
print "Hostname: $hostname\n";
print "Address: ".$hosts{$hostname}->{ipaddr}."\n&
i.e.: locate 12, 26) which would set the
cursor 12 rows down, 26 columns over. Is there such an equivalent in Perl? A
lot of the applications I'm looking into moving from DOS/QB to Linux involve
formatted screens if you will.
Any help or points in the right direction are greatly appreciated.
23123.12345.
Value 2: 1123579912.12345.
Value 3: 1123579912123450..
Value 4: 1123579912123450.
Value 5: 1123579912123450:test.
It seems awful to call Math::BigFloat->new() three times to do the
calculation part. Is there a simpler way of doing this?
+ Richard J. Barbalace
<[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
401 - 500 of 530 matches
Mail list logo