I need to deliver graphic files (jpg and gif) over http in the same manner
that a web server would. Can anyone point me in the right direction? Setting
the mime type is no problem but it's the rest that I have no experience of.
In the past I've always simply done a location: /path/to/graphic but th
when I do "set JDK122ROOT=/jdk1.2.2" & then run my
command for loading data it gives following error
/jdk1.2.2/bin/jdb.exe does't exist. Exiting...
If I do "set JDK122ROOT=c/jdk1.2.2
c/jdk1.2.2/bin/jdb.exe does't exist. Exiting..
whereas jdb.exe is present in the above folder
There is one mor
Hi All
Can win32::Tieregistry ( & other win32 modules) be installed on unix boxes
i .e a program that takes information from many remote windows machines etc
be reside on a unix server ?
any script examples are most welcome
Regards & Thanks
Pradeep
From: "R. Joseph Newton" <[EMAIL PROTECTED]>
> Madhu Reddy wrote:
>
> > Hi,
> > I have following sorting program...
> > basically it will split the large files into small
> > file and creates thread..each thread will sort files
> > after that merge back all sorted files...
> >
> > this program w
Hi -
> -Original Message-
> From: Pradeep Goel [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 27, 2003 11:09 PM
> To: [EMAIL PROTECTED]
> Subject: Tieregistry etc on unix server ? possible
>
>
> Hi All
>
> Can win32::Tieregistry ( & other win32 modules) be installed on unix boxes
>
>
Hi,
I've searched far and wide for this with no success. Is there a win32 perl module with
the same functionality as the win32 'xcopy' command, i.e. that will recursively copy a
directory structure from one place to another?
Thanks,
Scott
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
John W. Krahn wrote:
Cc wrote:
Hi,
Hello,
I'm a beginner at PERL. I've used it on and off, but only
just recently got myself back into the picture. I figured
that if you forget something in PERL, it'd be easy to take
it up again. So far, I'm not too sure of the ease
of taking up PERL again.
Sudarshan Raghavan wrote:
Yes, @data is just an array not an array of arrays.
Does this do what you want?
# CODE START #
my @data;
while () {
my @info = split;
push (@data, ["$info[0] $info[1]", @info[2..$#info]]);
}
# CODE END #
I'll change my code to see. But it certainly looks compli
Hi -
> -Original Message-
> From: Scott Ellis [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 27, 2003 11:15 AM
> To: [EMAIL PROTECTED]
> Cc: Scott Ellis
> Subject: Perl version of xcopy on Win32?
>
>
> Hi,
>
> I've searched far and wide for this with no success. Is there a
> win32
hi all,
I've problem with executing an external program in my perl program. I'm trying to
build an server for managing pop3 accounts to which I can connect for example via php
sockets.
For server/client enviroment I'm using Net::Server perl module. Everything works all
right, until I need to r
On Thu, 27 Feb 2003 16:55:14 +0100, Alexander wrote:
> regexp for
> 3 digits optional "," and if there is a comma 2 digits
Following this description, it's
/\d\d\d(,\d\d)?/
> I've tried this but it simply didn't work "\\d{1,3}[.,]?\\d{0,2}"
while seeing this one, it could be you meant:
/\d{1,3
> hi all,
>
> I've problem with executing an external program in my perl
> program. I'm trying to build an server for managing pop3
> accounts to which I can connect for example via php sockets.
>
> For server/client enviroment I'm using Net::Server perl
> module. Everything works all right, u
http://search.cpan.org
Look at the File modules.
Not sure about an exact command named xcopy but I'm
sure there the same functionality somewhere.
Dan Muey
> -Original Message-
> From: Scott Ellis [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 27, 2003 3:15 PM
> To: [EMAIL PROTECT
On Wed, 26 Feb 2003 17:34:10 +1100, Clinton wrote:
> I'm trying to parse an uploaded csv file. From the HTTP info I have a string
> that looks like this
> ...
> Unfortunately if the CSV file has punctuation (Wilfred De'Silva) everything
> falls in a heap.
> How can I pull out the data without rely
I assume what you're trying to do is have in your html
And maybe except paramkaters and display accordingly?
If so all you need to remember is to print the proper headers and don't try to print
and text.
#!/usr/bin/perl
use File::Slurp;
use CGI qw/:standard/;
print header("image/gif");
prin
>
> Steve Few wrote:
> > Hi guys,
> >
> > I tried to send this little test script, but my error at my
> NT command
> > line was,
> >
> > "cant' locate Mail::Sendmail.pm in @inc (@inc contains d:/perl/lib
> > D:/perl/site/lib at sendmail.pl at line 3".
Maybe I'm missing a previous thread but
hello,
- $pw_path contains the absolute path to pw: /usr/sbin/pw
- I run server as root, if I try to print $< in program it returns 0 which is ok, so
privileges should be ok
- one on the end isn't important - it's just for setting an return value from
subroutine
As I write, code should be ok, b
>
> If this is a proper mail , why dont you use ready Mail Parsers
> MIME::Parser for one ( excellent module )
I have looked at it but am still unable to get my little brain figuring it out.
Here is what I gathered via CPAN but an uncertain as to whether I'm looking at it right
And , if I am, w
Pardon for the OT post, but would the list admin kindly remove me from
this mailing list. I'm having no luck with the autoresponder.
- Justin Cameron
Original Message
Subject: ezmlm response
Date: 28 Feb 2003 15:22:27 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hi!
I don't know much about the problem you are asking for.
But it seems to me that you're wrong when calling the subroutine wanted.
# File::Find wanted function
sub wanted;
It must be:
# File::Find wanted function
&wanted;
Shouldn't it???
-rm-
- Original Message -
From: Shawn Wilso
The correct address to send remove requests is
[EMAIL PROTECTED] when you have exhausted all other means.
TIP: Make sure you are trying to subsibscribe the correct address.
Cheers,
Kevin
On Fri, Feb 28, 2003 at 10:27:05AM -0500, Justin Cameron ([EMAIL PROTECTED]) said
something similar to:
>
>
> I don't know much about the problem you are asking for.
> But it seems to me that you're wrong when calling the
> subroutine wanted.
>
> # File::Find wanted function
> sub wanted;
>
It's actauilly not clling the routine it's declaring it. So it is valid perl but it's
not actually callin
Madhu Reddy wrote:
>> > -
>>
>> if you do perl -V, do you see a line that looks
>> like:
>>
>> usethreads=define use5005threads=undef
>> useithreads=define
>> usemultiplicity=define
>>
>>
>
> NO, I didn't see that one...
>
> following is my perl -v output
actually can you try:
perl -V
Hello,
How do I convert pdf file (Acrobat readable format) to text, or simple read
these file types using Perl? Do I treat these file types as binary or
what?
Any pointers will be appreciated.
Thank you,
__
William Ampeh (x3939)
Federal Reserve Board
--
To unsubscribe, e-m
Hello all,
I had a power outage that I think somehow damaged my Perl install, I've
been trying like crazy to repair it, I upgraded to the latest, 5.8.0 for
I686 Linux, now I am trying to repair the DBI bundle and I can't seem to
get past this:
t/zz_80proxy_ppskipped
all skipped
Hi,
I am try to automate a analysis process, In which I used a windows box to telnet a
UNIX box and do the job on the telnet consol. I need to use move the cursor down or up
and also need to use Control key plus a certain cahracter key to do the operation.
Ideally I sould type a few characters
Jim Yu wrote:
> Hi,
>
> I am try to automate a analysis process, In which I used a
> windows box to telnet a UNIX box and do the job on the telnet
> consol. I need to use move the cursor down or up and also
> need to use Control key plus a certain cahracter key to do
> the operation. Ideally I sou
>
> Hi,
>
> I am try to automate a analysis process, In which I used a
> windows box to telnet a UNIX box and do the job on the telnet
> consol. I need to use move the cursor down or up and also
Are you trying to get coordinants then enter those keys?
A little more info would help On exact
Hello,
>
> How do I convert pdf file (Acrobat readable format) to text,
Convert to text not sure..
Have you looked at http://search.cpan.org and searched for pdf under modules?
Using/getting pdf into your script is easy :
#!/usr/bin/perl
use File::Slurp;
use CGI qw/:standard/;
print header(
Hello,
Is there any existing module that can list all the subdirectories/files within a
given directory?
TIA
Shishir
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> This (perl -n -we 'print if /[\[\].]{2}/;' file) almost did the trick, but
> it was also picking up lines with many .. or many
flanked
> in between something. So I ammended it to (as there is always a space
> between the characters I am trying to pull out):
>
> perl -n -we 'p
Shishir K. Singh wrote:
> Hello,
>
> Is there any existing module that can list all the
> subdirectories/files within a given directory?
>
> TIA
> Shishir
You can use File::Find to pull out what you want. Has decent examples and you
should be able to get what you need from that.
Wags
Remember to reply to the list!!
>
> Thanks, Dan!
>
> No, I only need to choose from the manu, sometimes, I
> have to move the cursor to a specific manu choice and
> type a few words.
Depends on the program that has the menu's
Do they have shortcut keys?
Not sure exactly how you'd do that.
>
> Hello,
>
> Is there any existing module that can list all the
> subdirectories/files within a given directory?
Is this homework? You'll never learn anythign if you cheat!
Any who I'll bite even though I think it's howework ::
http://search.cpan.org is your friend
use File::Slurp;
@fi
Aaagh, I am already doing that. However wanted to know if any module exists that
recursively lists all the sub directories/files within the directory.
-Original Message-
From: Wagner, David --- Senior Programmer Analyst --- WGO
[mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 2:
I am already doing the recursive look up and it works fine. However, if it's a long
hieararchy, it, it takes up some to traverse the full tree. I was curious to know if
any module exist so that I can compare the speeds. If the performance is better, I can
discard my piece.
-Original Messag
I have some numbers that I want to format into a 00,000.00 format. Right
now the numbers are link 0.00 how do I get the commas in there. I also
do not know how many commas I will need. As the number may be 000.00
thus it would need two.
Appreciate any help.
Chris Burger
--
To uns
There was a post about this exact thing a few weeks or so ago. I can't remember who
posted it but
Here is what I use, works like a monkey in heat!
#!/usr/bin/perl
$commify_this_number = $ARGV[0];
$commify_this_number =~ s/(^[-+]?\d+?(?=(?>(?:\d{3})+)(?!\d))|\G\d{3}(?=\d))/$1,/g;
print $commify_th
Hi -
> -Original Message-
> From: Christopher M Burger [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 10:51 AM
> To: [EMAIL PROTECTED]
> Subject: formating numbers.
>
>
> I have some numbers that I want to format into a 00,000.00 format. Right
> now the numbers are link 000
Christopher M Burger wrote:
> I have some numbers that I want to format into a 00,000.00 format.
> Right now the numbers are link 0.00 how do I get the commas in
> there. I also do not know how many commas I will need. As the
> number may be 000.00 thus it would need two.
>
> Appreciate
Hi Guys,
I have an array in which each element is a line commandline data. It looks
something like this -
@Array contains lines:
post1: -r [EMAIL PROTECTED] -x cat-100 -h post1
post2: -x tel -h post2
post3: -h post3 -x hifi
And so on. The order of the options varies, and there may or may not
perldoc -f split
Will fic you up!
Dmuey
> Hi Guys,
>
> I have an array in which each element is a line commandline
> data. It looks something like this -
>
> @Array contains lines:
>
> post1: -r [EMAIL PROTECTED] -x cat-100 -h post1
> post2: -x tel -h post2
> post3: -h post3 -x hifi
>
> An
Thanks, I know how to use split (I think). Since the data comes in
any order, and I have to corellate it, I can't think of a way that split
will fix me up - Maybe I'm missing something. Can you give me an example?
deb
Dan Muey <[EMAIL PROTECTED]> had this to say,
> perldoc -f split
>
> Will
>
> Thanks, I know how to use split (I think). Since the data
> comes in any order, and I have to corellate it, I can't think
> of a way that split will fix me up - Maybe I'm missing
> something. Can you give me an example?
>
Ok I'll give her a go
my %results;
my $cnt = 1;
foreach $line(
Hi Folks,
The code at http://longren.no-ip.org/tyler/blowfish.pl encrypts some $data.
Once the data is encrypted, the hex value should be stored in $ciphertext.
$plaintext should have the original data that's in $data.
When I run this code, I recieve this error:
"input must be 8 bytes long at
/us
I found that if I change $data to "12345678", it works. How can I encrypt a
string that has more than 8 characters?
Thanks,
Tyler
- Original Message -
From: "Tyler Longren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 3:47 PM
Subject: Crypt::Blowfish errors
> Hi Folks,
>
> The code at http://longren.no-ip.org/tyler/blowfish.pl
> encrypts some $data. Once the data is encrypted, the hex
> value should be stored in $ciphertext. $plaintext should have
> the original data that's in $data.
>
> When I run this code, I recieve this error:
At the risk of
.--[ Tyler Longren wrote (2003/02/28 at 16:15:27) ]--
|
| I found that if I change $data to "12345678", it works. How can I encrypt a
| string that has more than 8 characters?
|
`-
You'll want to look at Crypt::CBC which can u
.--[ Frank Wiles wrote (2003/02/28 at 16:20:37) ]--
|
| .--[ Tyler Longren wrote (2003/02/28 at 16:15:27) ]--
| |
| | I found that if I change $data to "12345678", it works. How can
| | I encrypt a string that has more than 8 characters?
| |
| `--
Tyler Longren wrote:
>
> Hi Folks,
Hello,
> The code at http://longren.no-ip.org/tyler/blowfish.pl encrypts some $data.
> Once the data is encrypted, the hex value should be stored in $ciphertext.
> $plaintext should have the original data that's in $data.
>
> When I run this code, I recieve th
Deb wrote:
>
> Hi Guys,
>
> I have an array in which each element is a line commandline data. It looks
> something like this -
>
> @Array contains lines:
>
> post1: -r [EMAIL PROTECTED] -x cat-100 -h post1
> post2: -x tel -h post2
> post3: -h post3 -x hifi
>
> And so on. The order of the opt
Dilip v wrote:
> If I do "set JDK122ROOT=c/jdk1.2.2
Try:
set JDK122ROOT=c:/jdk1.2.2
Drive specifiers in DOS/Windows always take colons. The forward slashes are probably
alright, though, if you are using a recent version of Perl.
Let us know if that helps.
--
To unsubscribe, e-mail: [EMAIL PR
Dan Muey wrote:
> I have a need to grab specific Mime sections of an array.
>
> I've looked at and tried different Mime Modules but can't seem to get it to go.
> I thought about parsing it manually but I'm not sure if every message will be
> formatted exactly the same, hence the module.
>
> The a
Madhu Reddy wrote:
> > > -
> >
> > if you do perl -V,
> NO, I didn't see that one...
Is this:
> perl -v
The same as:
perl -V
?
As it turns out, no. Even though DOS/Win handles filenames as case insensitive, it
hands the switches and parameters to Perl verbatim, and Perl is very much cas
"Shishir K. Singh" wrote:
> I am already doing the recursive look up and it works fine. However, if it's a long
> hieararchy, it, it takes up some to traverse the full tree. I was curious to know if
> any module exist so that I can compare the speeds. If the performance is better, I
> can disca
Deb wrote:
> Hi Guys,
>
> I have an array in which each element is a line commandline data. It looks
> something like this -
>
> @Array contains lines:
>
> post1: -r [EMAIL PROTECTED] -x cat-100 -h post1
> post2: -x tel -h post2
> post3: -h post3 -x hifi
>
> What I really need to do is build a re
"R. Joseph Newton" wrote:
>
> Deb wrote:
> >
> > I have an array in which each element is a line commandline data. It looks
> > something like this -
> >
> > @Array contains lines:
> >
> > post1: -r [EMAIL PROTECTED] -x cat-100 -h post1
> > post2: -x tel -h post2
> > post3: -h post3 -x hifi
> >
>
"John W. Krahn" wrote:
> "R. Joseph Newton" wrote:
> >
> > Deb wrote:
> > >
> > > I have an array in which each element is a line commandline data. It looks
> > > something like this -
> > >...
> > > post1: -r [EMAIL PROTECTED] -x cat-100 -h post1
> > > post2: -x tel -h post2
> > > post3: -h post
Deb wrote:
> Hi Guys,
>
> I have an array in which each element is a line commandline data. It looks
> something like this -
>
> @Array contains lines:
>
> post1: -r [EMAIL PROTECTED] -x cat-100 -h post1
> post2: -x tel -h post2
> post3: -h post3 -x hifi
The getRelationships sub here has a few l
Hi... me is still newbie..
Would u help me to explain:
1. How the DBM file work??
2. How to delete all data in a DBM file?
3. What can i do with the *.dir and *.pag file that
DBM produce???, because if i open the *.dir and *.pag
file, it's text not clear to read.
4. What is the use of *.dir and *.
60 matches
Mail list logo