Hi,
THis is probably a simple question. Am new to perl and CGI so please
have mercy. I have a script which displays a list of files with links
to them. The links when hovered over in a browser show as:
display_file.pl?filename=blahblah
How can I extract the blahblah bit (which is the name of
## Alessandro Lenzen [EMAIL PROTECTED] on: Tue, 7 Aug 2001 13:21:22 +0200
##
:: Hello Francesco,
alenzen::
alenzen:: first of all you should read the CGI.pm manpage if you want to write good
alenzen:: CGIs.
alenzen:: You don't need to use the CGI.pm module, but it is considered good
Once again. This is a problem that can be easily solved reading the CGI
module documentation at:
http://www.perldoc.com/perl5.6/lib/CGI.html
use the CGI module:
Perl
use CGI;
my $q = new CGI;
my $filename = $q-url_param('filename'); # or
my $filename = $q-param('filename');
/Perl
Hi,
I want to be able to create graphic logos witha perl script - any ideas on
how to do this?
What I mean is I will provide a list of titles and a list of font styles
then the script will create a gif for each title using a random font style..
Can it be done? Is it difficult? I've never tried
On Tue, 7 Aug 2001, Rob wrote:
I want to be able to create graphic logos witha perl script - any ideas on
how to do this?
What I mean is I will provide a list of titles and a list of font styles
then the script will create a gif for each title using a random font style..
Can it be done?
I have tried that, and Word generates HTML documents (XML actually) that have
consistently had incorrect formatting.
Adam Carson
MIS Department
Berkeley County, SC
Brett W. McCoy [EMAIL PROTECTED]
If you have Dreamweaver you can use the 'Clean up Word HTML' option in the
Modify menu on the toolbar.
Brad Handy
--www.jack-of-all-trades.net
[EMAIL PROTECTED]
-Original Message-
From: Adam Carson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 11:22 AM
To: [EMAIL
Thanks. I'll try that.
Adam Carson
MIS Department
Berkeley County, SC
Bradley M. Handy [EMAIL PROTECTED] 08/07/01 11:26AM
If you have Dreamweaver you can use the 'Clean up Word HTML' option in the
Hope this helps ... you can run this from the command line then enter
Ctrl+d to see what is generates... I'm sure there are other ways of doing
this ...
You make wish to check the permissions on /etc/password at your shop ..
use CGI;
$q-new CGI;
while (($name,undef,$uid)= getpwent) {
Yeah, the dreamweaver 'Clean up Word HTML' is amazing.
It does miss some tags, like class, so you have to take an extra step or
two to remove them.
-Original Message-
From: Bradley M. Handy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 11:26 AM
To: Adam Carson; [EMAIL
Hi all,
I have a Perl script that takes the contents of a
form, feeds them to GnuPG for encryption and then
emails me the encrypted document. GPG wants to either
display the results in STDOUT or write a text file,
both of which arent good.
I was hoping redirect STDOUT to a variable for a short
--- Rajeev Rumale [EMAIL PROTECTED] wrote:
Thanks Dwalu,
But the what i need is the grep the name of the sub which is calling the
loging sub.
As you have suggested caller only gives only the name of current sub
routine that is debugLogger it self.
And I had to do call the caller before
Good morning,
'caller' also takes an optional argument that specifies how far up the
calling stack (list of embedded functions) to traverse. Try experimenting
with caller($i) where $i 0 in your 'debugLogger' subroutine and you'll
see what I mean. 'caller' in a list context prints out
Have you taken a look at the GnuPG or Crypt::GPG
modules on CPAN?
Yep, I've looked (and longed), but my Web hosting
service refers to them as hooky. I think he's
hostile because they aren't version 1 or higher (not
that it really makes much difference). I also don't
have the ability to directly
I've been scrounging the internet for this answer, but can't find one
html code
a
href=edit.pl?submit=editid=$$row{'id'}title=$$row{'title'}description=$$
row{'description'}model=$$row{'model'}serial=$$row{'serial'}value=$$row{'
--- Mark Ross [EMAIL PROTECTED] wrote:
Have you taken a look at the GnuPG or Crypt::GPG
modules on CPAN?
Yep, I've looked (and longed), but my Web hosting
service refers to them as hooky. I think he's
hostile because they aren't version 1 or higher (not
that it really makes much
--- shawn [EMAIL PROTECTED] wrote:
I've been scrounging the internet for this answer, but can't find one
html code
a
href=edit.pl?submit=editid=$$row{'id'}title=$$row{'title'}description=$$
row{'description'}model=$$row{'model'}serial=$$row{'serial'}value=$$row{'
Disclaimer: I've read the docs, talked to several folks, and played around
with the scripts, but I must be missing something.
I'd like to get the tmon.out file output from the -d:DProf flag when my
CGI scripts execute remotely on the web server that I'm developing on, but
whenever I add the
On 7, Aug, 2001 at 12:11:29PM -0400, Mark Saunders wrote:
Yeah, the dreamweaver 'Clean up Word HTML' is amazing.
It does miss some tags, like class, so you have to take an extra step or
two to remove them.
HTML-TIDY claims to be able to clean up dirty Word html, get it from
--- Jason Purdy [EMAIL PROTECTED] wrote:
Disclaimer: I've read the docs, talked to several folks, and played around
with the scripts, but I must be missing something.
I'd like to get the tmon.out file output from the -d:DProf flag when my
CGI scripts execute remotely on the web server that
I just tested a command line script by putting -d:Dprof in the shebang
line and didn't have any
problem. Of course, I'm using ActiveState here and that might make a
difference. Perhaps you
could tell us what's in your error log?
Yea ... that's another problem - I don't have access to
Hello Francesco,
first of all you should read the CGI.pm manpage if you want to write good
CGIs.
You don't need to use the CGI.pm module, but it is considered good
programming practice and it saves a lot of time since you don't have to
bother with a lot of things.
The following code should help
Oh, I see. I'm a bit confused. Maybe it's my fault...
Do you have a string like display_file.pl?filename=blahblah or are you
calling the CGI with http://www.domain.it/display_file.pl?filename=blahblah
?
The code I wrote is for the latter...
In the first case, you could use regexes:
Sidrath,
is there any need to adopt that surly attitude when responding?
joel
-Original Message-
From: Sidharth Malhotra [mailto:[EMAIL PROTECTED]]
Sent: 07 August 2001 13:23
To: 'Francesco Scaglioni'
Cc: '[EMAIL PROTECTED]'
Subject: RE: href arguments
Once again. This is a problem
I'm new to scripting in PERL (I've only done Javascript and Lingo before).
I'm building a script to write an HTML page on the fly, using image files
that are in a directory that is given to the script as a variable. How do I
pass my variable to my script from the HREF link that my user clicks?
--- Lee Hoffner [EMAIL PROTECTED] wrote:
I'm new to scripting in PERL (I've only done Javascript and Lingo before).
I'm building a script to write an HTML page on the fly, using image files
that are in a directory that is given to the script as a variable. How do I
pass my variable to my
I think you might want to see my script, to see where I am trying to go. As
this is my first day on this list, I'd like to know if it's okay for me to
post an entire script before I do. It's 69 lines, with a lot of comments
stating what I am trying to do. Would you all mind if I post it, or would
--- Lee Hoffner [EMAIL PROTECTED] wrote:
I think you might want to see my script, to see where I am trying to go. As
this is my first day on this list, I'd like to know if it's okay for me to
post an entire script before I do. It's 69 lines, with a lot of comments
stating what I am trying to
Thanks, Curtis! Below is the script. (I hope it's clear!)
#!/usr/local/bin/perl
#This script will be called using the POST method,
#contained in a HREF that the
#site visitor clicked on.
#The call will contain an argument, which will
#be
Adam,
I needed a clean output from Word for very large docs that only have
paragraph styles. So I wrote a little VB macro that tags anything in Word
with its style. It only handles para styles not other formatting.
So after running the macro: a heading1 styled paragraph would be end up as
Hi,
On Tue, 7 Aug 2001, Lee Hoffner wrote:
use strict;
use CGI qw/:standard/;
my $dir = param('dir');
#Verify that the requested directory exists.
#I imagine I want to say something like:
if (-d $dir) {
print END;
Content-Type: text/html\n\n
html
body
table
END
caller only gives only the name of current sub
You didn't read the docs carefully enough...
caller($calldepth)
perldoc -f caller
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The difference between HTML version 3.2 and version 4.0 is the number and
type of tags that are available to you. The browsers don't really know the
difference between the different versions - they just either support the
latest version (4.0) or they don't. You'll find out when you try to use
On Tue, Aug 07, 2001 at 03:16:44PM +0930, Daniel Falkenberg wrote:
printHTML;
head
HELLO WOLRD!
/head
HTML
If this HTML is being run with Perl which it is of coarse how would I know
what version of the HTML it is.
HTML is not run, it's not a programming language, or
Is there a better way to compare large files than this snippet, which runs out of
memory if files 30mb.
It is also slow, about the same speed as comparing in a text editor!
Thank you.
__SNIP__
@file1 = (IN1);
@file2 = (IN2);
$are_equal = compare_arrays(\@file1, \@file2);
if ($are_equal)
Hi all, I wonder if someone can shed any light on this for me.
I run a Solaris 8 machine (sparc) at work and had problems installing DBI for perl
5.6.0 - for future reference (for other newbies) if your perl has come precompiled on
your system, and you install gcc to compile modules, perl
hai
i tried to pass three variables obtain the output to be in table format
.but i could not get any output.
The code is as follows.
my html program (calling)
html
head
title h2 Post Method /h2 /title
/head
body
pre
form method = post action = http://mc6308/cgi-bin/check.cgi;br
Name input
Hello Mbedish,
Tuesday, August 07, 2001, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Mac Is there a better way to compare large files than this snippet,
Mac which runs out of memory if files 30mb.
Mac It is also slow, about the same speed as comparing in a text editor!
Mac Thank you.
Mac
if you're just interested in *EXACTLY* the same files, use MD5 (get it from
search.cpan.org)
even one BIT of difference (literally) will result in a different checksum
thorough and fast
hth
Jos Boumans
- Original Message -
From: Maxim Berlin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Hello,
Why are you not using CGI.pm? Why are you parsing the data yourself?
Doing so is very error prone and you *will* get into trouble.
Try doing the following in your script:
#!/usr/bin/perl -w
use strict;
use CGI qw/param/;
my $name = param('Name');
my $age = param('Age');
my $city =
Peter,
Thanxs for the help!
I found a little typo in your code tho
foo (@{$logFiles{$key})
should be
foo (@{$logFiles{$key}})
missed that trailing } ;)
-Ron
-Original Message-
From: Peter Scott [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 15:20
To:
Jeff Rouse/NCO/CEtv [[EMAIL PROTECTED]] quoth:
*
*I have been an SA and DBA for 7 years and have worked in a lot of different
*environments for several companies and I didn't go into apoplectic shock at
*my suggestion :-)
Look at the suidperl source code, you will :) suid, even if root is not
Hi there,
I am wondering if it is possible to create my own module
and to allow programers to use it without any importing or so.
For example, if MyPackage has subs like init, doThis,
doThat - is it possible to have a script that looks like:
scr.pl:
init;
doThis $someArg;
doThat $anotherArg
Yes. Here is how
1) In your MyPackage.pm, you import the Exporter module as
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(init doThis doThat);
2) install MyPackage in a search directory, i.e., including your path in
@INC
3) Then in your scr.pl or other programmer's scripts
use
Ahh!! Thanks for help. That did it.
-Scott
-Original Message-
From: Jeff 'japhy/Marillion' Pinyan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 11:46 AM
To: [EMAIL PROTECTED]
Cc: Perl Help
Subject: RE: Remove White Space
On Aug 7, Scott Martin said:
I am stumped, none
Hello!
And your exec code ought not to have to change. If you're used to doing
something that says
foo (@files)
then just do instead
foo (@{$logFiles{$key})
where $key is one of the hash keys - obviously now you can loop through
all
of them.
Sorry, but did you
Hi all, i want to have a subroutine for checking user input:
here is a snippet of the code:
print (Is your Terminal ANSI compliant?\nYes or No, \(y\) or \(n\)?\n);
chomp ($input = STDIN);
verifyInput($input);
sub verifyInput
{
# Subroutine to verify input
#
I have a project where I have to run a job on demand on
another box. Since I can telnet into that box from the server
I'm running my Perl scripts on, I'd like to write a script that
would telnet into that box.
But I think my problem would be adding whatever symbol
to the end of my login ID
Hello!
@array[$a] = [1, 2, 3, 4, 5];
How can I determine the length of an array inside an array?
I tried the followings:
$length = $#array[$a]# -- syntax error
$length = scalar(@array[$a]) # -- ARRAY(blablabla)
Any ideas?
Krisztian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
sorry guys i got it, silly mistake
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[My rule is that beginners' questions arising from a thread on the
beginners' list get answered on the list, FYI. I may make mistakes that
others will catch.]
At 09:37 AM 8/7/01 -0400, Yacketta, Ronald wrote:
Peter,
Does this look correct?
exec egrep, $lookFor, @{$logFiles{$_}} unless
On Tue, 7 Aug 2001, Barry Carroll wrote:
here is a snippet of the code:
print (Is your Terminal ANSI compliant?\nYes or No, \(y\) or \(n\)?\n);
First of all, get rid of those backslashes. No need to put your string in
parens. You can do this:
print Is your Terminal ANSI compliant?\nYes or
Too late -- i already posted.
Oh, well! ;)
-Original Message-
From: Barry Carroll [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 11:12 AM
To: '[EMAIL PROTECTED]'
Subject: pls ignore last msg
sorry guys i got it, silly mistake
--
To unsubscribe, e-mail: [EMAIL
Thanks,
I didn't know that, i got around the problem with this:
print (Is your Terminal ANSI compliant?\nYes or No, \(y\) or \(n\)?\n);
chomp ($input = STDIN);
verifyInput($input);
sub verifyInput
{
# Subroutine to verify input
# Will return the correct value
# and
On Tue, 7 Aug 2001, Romek Krisztián wrote:
@array[$a] = [1, 2, 3, 4, 5];
Should be
$array[$a] = [ 1, 2, 3, 4, 5 ];
How can I determine the length of an array inside an array?
I tried the followings:
$length = $#array[$a]# -- syntax error
$length = scalar(@array[$a]) # --
At 09:59 AM 8/7/01 -0400, [EMAIL PROTECTED] wrote:
Randal,
Thanks for the file compare tip, it is incredibly fast! However it doesnt
tell me where the difference is. Can I get it to print out the first block
of data that is different?
Does your system have the 'cmp' program on it? IIRC this
At 09:29 AM 8/7/01 +0200, Romek Krisztián wrote:
And your exec code ought not to have to change. If you're used to doing
something that says
foo (@files)
then just do instead
foo (@{$logFiles{$key})
where $key is one of the hash keys - obviously now you can
[Rajeev, please keep beginner topics on the list]
Thanks again
You're welcome :
But how to calculate the $calldepth value here.
Actually I tried with the values for $i or $calldepth as given in the
docs.
(Note that I just made up the variable name $calldepth.)
I understand that 1
Hi,
What is the best way to find out if a command is suceesful/finished when
using system();
Im trying things like
die if system(some command); or warn if system(some command);
- not really worried about why it fails only if it fails and when it has
finished
This works but I would like to be
System commands return zero for true, some other value for failure.
This is backwards from perl's logic. You need to test for a return of
zero, or use and instead of or like this:
if ((system(system command)) == 0) { success }
or
system(system command) and die $!\n; # AND says Did I get a
Peter,
Sorry about the off list email, I did a reply vice a reply to all
the code actualy uses
exec $cmd, $lookFor, @{$logFiles{$_}} unless $pid=fork; # fork new
process for cmd
I replaced the $cmd for some stupid reason
I am not sure why, but this does not work I can print the members of
hello--
i was wondering if anyone knew what the file size limitation is for perl and
if there are any work arounds. i tried to compile it with the gcc flags that
are necessary for LFS, but to no avail. i dont have a problem with large files
under other programs. any ideas?
i am running redhat
I am new to perl myself. Maybe I am missing something here, but still
$? contains the exit status of the system call. $? 8 will give the exact
signal with which the call exited.
0 for success and anything else for failure.
Sudarsan
insomniak wrote:
Hi,
What is the best way to find out if a
I have a file as follows:
.SUBCKT JTJTAG Z@@793 Z@@753 Z@@109 Z@@86 Z@@15 Z@@296 Z@@61 Z@@207 Z@@135
+ Z@@275 Z@@313 Z@@1134 Z@@232 Z@@184 Z@@162 Z@@976 Z@@1014 Z@@253 Z@@954
Z@@39
+ Z@@138 Z@@622 Z@@1060 Z@@405 Z@@368 Z@@735
Z@@xxx stands for a node.
What I need to do is that read every
On Monday 06 August 2001 22:26, Qiang Qiang wrote:
Can I use a pointer as key of a hash? I wanted to do this way however, it
failed and output nothing. Then I change to use the content of the pointer
as key, it works.
Can you post a bit of code illustrating what you were trying to do? The
Better point would be a hash and use split on whitespace to isolate
the node info. Then using what is in the hash, you can read a file and check
whether the node info for that particular node is in the hash or not. Then
you can process accordingly.
Wags ;)
-Original Message-
Is there any way to recalculate a certain variable when another variable's
value changes? For instance if,
$a = 5;
$b = $a * 4;
$a = 10;
At the end of that, $a will be 10, but $b will still be 20 (5 * 4). Is
there any way, short of manually recalculating $b every time $a might
change, to have
Peter,
I have tried a few different perl: ways to grep for patterns in files
(~1500 files totaling ~350MB) cleanly and efficiently. each timed I thought
of something / tried something it was ridiculously slow.
I have tried a foreach on an array of files and parsing the $_ etc.. that
took nearly
On Aug 7, Michael Kelly said:
Is there any way to recalculate a certain variable when another variable's
value changes? For instance if,
$a = 5;
$b = $a * 4;
$a = 10;
You can use my DynScalar module from CPAN.
use DynScalar;
$x = 5;
$y = dynamic { $x * 4 };
print $x * 4 = $y\n;
$x
or you could just change this:
my $vInput = @_;
to thisL
my $vInput = @_[0];
-Original Message-
From: Barry Carroll [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 12:03 PM
To: '[EMAIL PROTECTED]'
Subject: Newbie Question about subroutine
Hi all, i want to have a subroutine
this might do it:
$file=SUBCKT JTJTAG Z\@\@793 Z\@\@753 Z\@\@109 Z\@\@86 Z\@\@15 Z\@\@296
Z\@\@61 Z\@\@207 Z\@\@135
+ Z\@\@275 Z\@\@313 Z\@\@1134 Z\@\@232 Z\@\@184 Z\@\@162 Z\@\@976 Z\@\@1014
Z\@\@253 Z\@\@954
Z\@\@39;
$node=Z\@\@323;
if ($file=~/$node/){
print found\n;
} else {
On Tue, Aug 07, 2001 at 04:30:12PM +0200, Edwin Günthner wrote:
.. so what I am looking for is a mechanism
to automatically load MyPackage whenever
Perl starts. Is that possible?
export PERL5LIB=-MMyPackage
Or the equivalent for your shell. But it's really not terribly
sociable. Your
-Original Message-
From: Michael Kelly [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 2:00 PM
To: [EMAIL PROTECTED]
Subject: Variable Recalculation
Is there any way to recalculate a certain variable when
another variable's
value changes? For instance if,
$a = 5;
-Original Message-
From: Paul Johnson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 2:25 PM
To: Edwin Günthner
Cc: [EMAIL PROTECTED]
Subject: Re: magic import of extensions?
On Tue, Aug 07, 2001 at 04:30:12PM +0200, Edwin Günthner wrote:
.. so what I am looking
Hello Perl Help,
Does anyone have any ideas on what is a good way to
check the existance of a value for a key that has
multiple values?
Thanks in advance,
__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
On Tue, Aug 07, 2001 at 02:38:52PM -0400, Bob Showalter wrote:
export PERL5LIB=-MMyPackage
That should be PERL5OPT, not PERL5LIB
Right, thanks. I had even looked it up to make sure too
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
--
To unsubscribe, e-mail: [EMAIL
On Tue, Aug 07, 2001 at 12:14:55PM -0700, Sophia Corwell wrote:
: Hello Perl Help,
:
: Does anyone have any ideas on what is a good way to
: check the existance of a value for a key that has
: multiple values?
I'm not quite sure what you're asking for so I'm going to try and
rephrase your
The following rough code example will get you what you want. The parameter
passed to caller tells the function how many frames to go back in the call
stack. The fourth list element (which is number 3, starting at 0) contains
the name of the subroutine at that frame.
Actually, i think the 'use MyPackage' statement is what Edwin is trying
avoid, hence the term magic ... ?
Yep, thats exactly what I am looking for.
It's not really a good idea to do this, but you could create a second perl
command in another location (or rename it in the same location ...)
At 01:28 PM 8/7/01 -0400, Yacketta, Ronald wrote:
Peter,
Sorry about the off list email, I did a reply vice a reply to all
the code actualy uses
exec $cmd, $lookFor, @{$logFiles{$_}} unless $pid=fork; # fork new
process for cmd
I replaced the $cmd for some stupid reason
I am not sure why,
At 02:02 PM 8/7/01 -0400, Yacketta, Ronald wrote:
Peter,
I have tried a few different perl: ways to grep for patterns in files
(~1500 files totaling ~350MB) cleanly and efficiently. each timed I thought
of something / tried something it was ridiculously slow.
I have tried a foreach on an array
Does anyone have any ideas on what is a good way to
check the existance of a value for a key that has
multiple values?
I'll assume that your hash table has the following structure:
$hash{$key} = [ ];
that is, the value of each hash element is an array reference.
Let's say you're looking
[EMAIL PROTECTED] [[EMAIL PROTECTED]] quoth:
*Hi all, I wonder if someone can shed any light on this for me.
*
*I run a Solaris 8 machine (sparc) at work and had problems installing DBI for perl
5.6.0 - for future reference (for other newbies) if your perl has come precompiled on
your system,
Mooney Christophe-CMOONEY1 [[EMAIL PROTECTED]] quoth:
*Got a question related to this list:
*
*I went to the specified archive because i wanted to find an older post, but
*it looks like the list only contains this month's postings. Does anyone
*know where the older posts are? Are they lost and
No, I am using Win NT.
Regards,
Mark
Surrey,UK
Does your system have the 'cmp' program on it? IIRC this is a standard or
fairly standard Unix utility which does exactly what you want and you could
just call it from Perl...
Regards
Mark Bedish
Surrey,UK
In a message dated Tue, 7 Aug
Yes, i know--that's where i went in the first place, but 'dateindex' only
has posts from May 29-June 1, and those are repeated over and over again.
Something gives me the impression that this MHonArc thing that they're
using isn't working properly ...
-Original Message-
From: Elaine
On 8/7/01 11:05 AM, Jeff 'japhy/Marillion' Pinyan wrote:
You can use my DynScalar module from CPAN.
snip
On 8/7/01 11:36 AM, Bob Showalter wrote:
In addition to Jeff's suggestions,
snip
Thank you both! Although it wasn't real, the example I gave modeled what I'm
trying to do quite precicely,
I am truly frustrated that I can't even find any documentation on how to
install a module from, say, CPAN! I have activestate's installation of Perl
5.6.1.628 for Windows2000. I downloaded the binary version and have been
learning perl for about 4 months or so. The FAQ's say to use ppm to instal
Here is my setup for AS using ppm:
PPM interactive shell (2.1.2) - type 'help' for available commands.
PPM set
Commands will be confirmed.
Temporary files will be deleted.
Case-insensitive searches will be performed.
Package installations will continue if a dependency cannot be
What's PPM? Is this similar to CPAN?
-Original Message-
From: Wagner-David [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 3:55 PM
To: [EMAIL PROTECTED]
Subject: RE: Frustrated installing modules!?!
Here is my setup for AS using ppm:
PPM interactive shell (2.1.2) -
Maybe I'm crazy, but I would like to create an array of arrays from a single
string. Here's an example of a string:
((TEXT PLAIN (format flowed) NIL NIL 7BIT 206 4 NIL NIL
NIL)(TEXT PLAIN (name Display.txt format flowed) NIL NIL 8BIT
16330 412 NIL (attachment (filename Display.txt)) NIL) mixed
hehe -- i tried to do the exact same thing last year.
The solution? Mail::*Client from CPAN (your example looks like IMAP, but i'm not sure
...)
You may not be crazy now, but if you continue down this dark path, you'll certainly
end up there. Trust me. ;)
-Original Message-
From:
I am afraid, I have different stats with my study:
I ran for 100,000 loops and for 1,000,000 loops but yet, the map,grep
contexts are giving me efficient stats than the foreach loop stuff. Since
our comparing contexts differ, there might be significant difference between
the two approaches, I
Thanks for the reply eventhough my question was not
clear.
Let me explain what I am trying to do.
I have a hash named %orgjobs whose keys have multiple
values. The keys are department numbers and the
values are job_titles. There is a also a text file
that has a list of departments, users, and
Who knows how to compare two references (pointers) in OOPerl? A reference
is neither a numeric or a string, thus == and eq are useless. Of
course, I can use what they point at (the objects) to compare, however, I
want to know how to deal with references. Thanks a lot:-)
brbrbrBest Regards,
Mooney Christophe-CMOONEY1 [[EMAIL PROTECTED]] quoth:
*Yes, i know--that's where i went in the first place, but 'dateindex' only
*has posts from May 29-June 1, and those are repeated over and over again.
Are you sure you looked at that second URL? It begins some time in May and
lists everything
On Aug 7, Qiang Qiang said:
Who knows how to compare two references (pointers) in OOPerl? A reference
is neither a numeric or a string, thus == and eq are useless. Of
course, I can use what they point at (the objects) to compare, however, I
want to know how to deal with references. Thanks
John Way [[EMAIL PROTECTED]] quoth:
*I am truly frustrated that I can't even find any documentation on how to
*install a module from, say, CPAN! I have activestate's installation of Perl
You must have missed the FAQ link on the front page of CPAN.
http://www.cpan.org/misc/cpan-faq.html
also,
I am getting an error on my solaris 5.6 sparc box when I try to
run a Perl program with the Sybperl CTLIB extension.
Specifically, I get the following error message:
Can't load
'/tools/ver/perl-5.005_03/lib/site_perl/5.005/sun4-solaris/auto/Sybase/CTlib
/CTlib.so' for module Sybase::CTlib:
Oops - forgot to share...
-Original Message-
From: Matt Crapo [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 4:19 PM
To: 'Chidi'
Subject: RE: Please help with perl library path problem!
I may be off in left field here, but I've had similar error messages
(keyword ld.so.1).
1 - 100 of 105 matches
Mail list logo