If you have a scalar that has a hash in it it would actually be a hash
reference. If you want to access a single key you can do this:
$hashref-{KeyName}
To access the hash as a hash, you must properly dereference it like so:
%{$hashref}
This is what I think you're looking for. For example now
Hi there
(i'll probably solve this in a few hours (im VERY NEW to MIME ) - but i'll
ask this anyway..)
ok - in my script, I have :-
if ($to =~ m/test/i){
use MIME::Parser;
my $parser = new MIME::Parser;
$fle = /www/g/gorstew/cgi-bin/groups/$line;
print FROM - $from\n;
print LINE - $line\n;
Lenny wrote:
Greetings,
I have a script that runs differently depending on the system its executing
under. How can i query the system type ?
Try:
My $os = $^O
___
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe:
At 08:38 AM 8/14/03 -0700, you wrote:
That's what Data::Dumper was designed for:
use Data::Dumper; $Data::Dumper::Indent=1;
...
my $entity = $parser-parse_data($msg);
print Data::Dumper-Dump([$entity], [qw($entity)]);
Thankyou...
I rarely use Data::Dumper - Only used it once or twice before
Gary,
The following link might help you - Please note that this is
NOT at all secure, but could show you a way to do what you
want.
This is Perl code that shows you 'howto' do some things
and it only requires simple HTTP connection, so you don't
have the time limits imposed by FTP or
Hi list,
Does anyone know an module to create and edit images. I had to make
something like Adobe Graphics Server(AGS is too slow). I need only simple things
like resize, crop, drawing simple lines and circles, and paste existing images
somewhere in the new one.
I can compile the script
On 08 Aug 03, Theisen, Gary ([EMAIL PROTECTED]) wrote:
Ok allfor the time being I'm throwing in the towel on trying to get
Net::Telnet to work on my NT4 box to an os/390. Can't get past the darn
prompt issue.
What about using Net::FTP for downloading a PART of a file? In other words,
Title: Message
According to Altavista's Babel Fish translator, it
reads:
I
have the following problem, I have installed the GD and GDGraph of Perl 5,6, but
if I make a programita simple, it leaves an error to me that cannot locate to
Align.pm within C:\perl \site\lib\GD\Graph... anybody
On Wed, Aug 06, 2003 at 07:55:59PM -0700, $Bill Luebkert wrote:
Mark Mielke wrote:
That said, I'm the paranoid type, and I always choose to flock(LOCK_UN)
my file handes from Perl.
That could be a mistake if the last write is still cached in memory and
hasn't been written out yet. Stick
Hi Gary,
It sounds like the telnet daemon on the host you are connecting to is
failing if you are not getting prompted for login using standard OS telnet
client. The telnet daemon could fail for any number of reasons.
If you can confirm the telnet daemon is working on the remote host and
connect
Hi!
I am using Perl v5.6.1. I am executing a rsh
command from a solaris box to another solaris box
using
`rsh TARGETMACHINNAME command`;
If the machine is down, then rsh command hangs for
infinite time. Is there any way out, using timeout
with rsh command?
Thanks
-Pijush
Hello,
I am having quite a problem getting my Webserver to serve Perl pages
using PerlEx. When I visit the page using IE I get the following error
HTTP 500 - Internal Server error.
For a little background:
I am using Windows2000 and IIS and I have a valid License to use PerlEx.
Yesterday, I
Hola Marita,
You seem to also need the GD::Text::Align module, which is contained in
GDTextUtil in PPM.
ppm install GDTextUtil
En el futuro, si usted puede, utilizar por favor inglés en esta lista.
Gracias.
J-S
- Original Message -
From: Marita Sarmiento [EMAIL PROTECTED]
To: [EMAIL
Hi all,
does anybody know, how can i kill a process by its ID on a win2000
or xp box ?
Thanx in advanced.
Kris Wolff
Application Developer
dietzk. Interactive OHG
Am Kirchplatz 41-43
D-65779 Kelkheim
Fon +49 (0) 6195 72 42- 15
Fax +49 (0) 6195 72 42- 29
[EMAIL PROTECTED]
Hello,
first try to ping the machine if successful connect via rsh...
sorry, thats the only thing I would do, I am not a Unix-Man.
bye
chris
-Original Message-
From: pijush koley [mailto:[EMAIL PROTECTED]
Sent: Sonntag, 10. August 2003 18:02
To: [EMAIL PROTECTED]
Subject: Is
Hola a todos,
tengo el siguiente
problema, he instalado el GD y GDGraphdel perl 5.6, pero si hago un
programita sencillo, me sale un error que no puede localizar Align.pm dentro de
C:\perl \site\lib\GD\Graph...alguien sabe porque tengo ese
error???...
Gracias de
antemano
Marita
Title: Need to read canned queries from with EXCEL worksheet.
We've inherited an application with a series of EXCEL worksheets that each contain
dozens (if not hundreds) of canned ODBC d/b queries.
All of which hard-coded to refer to an external D/B ...
we need to be able to see the
my $results = $parser-results;
I'm using the above - as per a good website ive found :-
http://www.zeegee.com/code/perl/MIME-tools/docs/MIME/Parser/Results.pm.html
and
http://www.zeegee.com/code/perl/MIME-tools/docs/MIME/Parser.pm.html
However - When I display it (in the log fles) it
Gordon Stewart wrote:
my $results = $parser-results;
I'm using the above - as per a good website ive found :-
http://www.zeegee.com/code/perl/MIME-tools/docs/MIME/Parser/Results.pm.html
and
http://www.zeegee.com/code/perl/MIME-tools/docs/MIME/Parser.pm.html
However - When I
Title: Message
Hy to all
tengo el siguiente problema, he instalado el GD y
GDGraphdel perl 5.6, pero si hago un programita sencillo, me sale un error
que no puede localizar Align.pm dentro de C:\perl \site\lib\GD\Graph...alguien
sabe porque tengo ese error???...
i have the follow
Sabherwal, Balvinder (MBS) wrote:
List,
How can I find out number of elements or values in an array using array
reference ( i. e.@$array)??
Whoops, mis-read that part about the ref. Yes what you have is correct.
You may need to explicitly add 'scalar' if it's not in a scalar context.
Does anyone know of a Perl script which checks sun/Solaris and Windows 2000
System against a known set of patches and OS Versions... etc
___
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
There is no package that I am aware of. You will have to build from source.
- Original Message -
From: Braun, Dr. Volker, fiscus GmbH, Bonn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 7:37 AM
Subject: Perl for Solaris x86
Dear Experts,
I am looking for
On Wed, 13 Aug 2003 14:31:58 +0200, Braun, Dr. Volker, fiscus GmbH,
Bonn [EMAIL PROTECTED] wrote:
Volker,
it has to be Active State Perl 5.8.0 build 806 due to
the requirements of our technical plattform which
supports Win, Linux and Solaris (Intel) operating
systems.
We don't provide
Hi all,
I'm trying to zip an entire directory
with Archive::Zip, but I can't definitivly understand this module.
I've read the doc on CPAN and used the examples, but I don't understand
how it works.
For example, what does $zip-addTree(
'.', 'xyz' ); means?
I've tried to list my source
Jan,
wuuau, :-))) exalent article.
Thanx a lot.
Am 12 Aug 2003 um 12:29 hat Jan Dubois geschrieben:
On Tue, 12 Aug 2003 14:48:37 -0400, Jean-Sebastien Guay
[EMAIL PROTECTED] wrote:
He meant the perl function kill. it should work on Win32 as well.
Note that Perl 5.6 will
intertwingled wrote:
Braun, Dr. Volker, fiscus GmbH, Bonn wrote:
Dear Experts,
I am looking for an ActivePerl package for Solaris on Intel (x86) machines.
Since there is no corresponding Download available, I ask you whether
I can either use the linux or the sun4 tar.gz package.
Ermm,
Title: RE: Killing a process on a win32 box
I dont believe that kill
is native to XP. It does have a taskkill command built in though
that you can either use the service name or PID for.
Thanks,
Rick
Richard Grakowsky
--- Gordon Stewart [EMAIL PROTECTED] wrote:
Hi there
I've posted this message / request yo various groups
(with 5,000 - 10,000
members total) - No reply as yet...
So far, Ive designed a working email discussion
group from scratch - using
Perl..
With subscribe / unsibscribe
Title: RE: Killing a process on a win32 box
BTW... Here is a good tutorial for that kind of thing
http://gsu.linux.org.tr/oreilly/perl/sysadmin/ch04_02.htm
Thanks OREILLY
-Original Message-
From: Kris Wolff [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 12, 2003 12:07 PM
Hello,
how about
print $^O; # O like operating
bye
chris
-Original Message-
From: Story, Lenny [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 3:55 PM
To: [EMAIL PROTECTED]
Subject: How can i query System type at runtime ? ... Windows
vs Unix ?
31 matches
Mail list logo