Hi, I hope this question isnt too ridiculous.
Ive been using perl for a year or so on various platforms (Sun/UNIX, linux, NT-cygwin,
Active State). Do people recommend ActiveState over cygwin for the NT system - how
about ActiveState on Linux? Not being a system guru Id like to use the
I dont know, Beans and Pilgrims are pretty exciting too. Overall Bo-Town is great!
murphy, daniel (BMC Eng) [EMAIL PROTECTED] 11/14/01 12:38PM
OK, what's one more?
Boston, MA, USA
That souds pretty boring after hearing from the Netherlands, Austrailia,
Romania, etc. ;-)
--
To
I would like to create a hash based on data contained in a file. Can I not use a
variable as both the key and the value as shown below? When I print as shown I do not
get a value however if I write the key as:alta_guard = $names[1]then I get
the correct value printed out.
Im absolutely stumped on this one. $_[0] is either '#ff' or 'red' it doesnt seem
to matter. When I print to STDOUT I get what I would expect - the value of $_[0]
printed to the screen. BUT when I print to IMAGE I dont get anything. Why does
$color not have a value when I print to a
Sorry, took me 3 hours to figure out that I outwitted myself. Thread closed. Thx.
Tyler Cruickshank [EMAIL PROTECTED] 10/26/01 09:05AM
Im absolutely stumped on this one. $_[0] is either '#ff' or 'red' it doesnt seem
to matter. When I print to STDOUT I get what I would expect
Sorry if you get this 2x it may not have gone thru the first time.
Hello.
Im working on a perl/php/SVG project. PHP interfaces with a DB (to pull out a data
array) and perl does the rest of the work. Does anyone know if perl can accept a php
array as an arg?
Thanks
-Tyler
--
To
Thanks all. Well, this is a personal project that Im working on w/ a buddy. He's a
php guy while I do perl (to some extent anyhow!). He just wanted to do it in
phpand I havent used the DBI module before.
ty
Etienne Marcotte [EMAIL PROTECTED] 10/24/01 12:36PM
Maybe, but if all the
Hi.
Im using a multidimensional array in the following way:
$array[$i][$j][$k] = [ @list ]; where, @list is a 2-D array ie. $list[][].
How do I access the individual elements of the array @list once Ive put it into the
array @array?
Thanks.
-ty
--
To unsubscribe, e-mail: [EMAIL
Hi. Im running perl via cygwin on NT. I want to remove all files *.1.txt.
I have tried:
1) system(rm *.t.txt);
2) $file = '*.1.txt';
system(rm $file);
3) system('rm *.1.txt');
...but, I cant get any of them to work. Any ideas? Thanks for your time.
-tyler
--
To unsubscribe,
Hello, I continue to have difficulties using hashes.
I have a hash that I am storing arrays in. Each array corresponds to one hour of a
day. After the hash has been populated I need to cycle through the days and sum
them up. So, I have written my hash such that each key can be looped
++){
$oldhandle = select(RRF);
$~ = RRFTable1;
select($oldhandle);
write RRF;
$x++;
} # End for loop.
$x=0;
}
} # End function printRRF.
Thanks very much for your time.
-Tyler Cruickshank
--
To unsubscribe, e-mail: [EMAIL PROTECTED
program with a source or a ./ my
$status returns 0. It does not work. Note I tried it 2 different ways with the same
negative result.
Does anyone have an idea? Thanks for your time.
- Tyler Cruickshank
= $root$hour;
$browns{$name} = [ @data ];
}
print$browns{$name}[1] \n;
print $name = @{ $browns{'data.hr3'} }\n;
print $name = @{ $browns{$name} }\n;
Thanks. - Tyler Cruickshank
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tyler Cruickshank [EMAIL PROTECTED] 08/17/01 12:53PM
Hi.
I am working with a hash of arrays. Ive run into some confusion regarding the
accessing and printing of the hash. Below are some excerpts of my code: I have an
array (@data) that I will create in a nested for loop. I fully
. Does
anyone have a hint? Im interested in doing this either from a UNIX box or NT.
Thanks very much.
-Tyler Cruickshank
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
be very appreciated.
Thanks, - Tyler Cruickshank
FORTRAN CODE:
#-
OPEN (5,FILE=File.ascii)
OPEN (9,FORM='UNFORMATTED',FILE=File.binary)
READ(5,2100)IFILE, NOTE,NSEG, NSPECS, IDATE, BEGTIM, JDATE, ENDTIM
WRITE(9)IFILE
.
Tyler Cruickshank
UDAQ
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
17 matches
Mail list logo