Hi Tom.
Well, works fine is good for so long as it lasts. Still, I wonder:
How do you know your Perl programs do what they should, when you know
your perl binary doesn't do what it should? Could the test that failed
have been trying to do the same thing that you're having trouble
doing?
On Jan 16, 6:47 am, [EMAIL PROTECTED] (Diego .) wrote:
That's what i do:
$BIN = $HOME/perl
sh Configure -de -Dlocincpth=$BIN -Dloclibpth=$BIN
-Dprefix=$BIN/perl5 -Dusethreads
make
make install
Thanks for all
Is this exactly what the shell interprets? If so, there is a simple
solution.
sorry it was a typo!!
I wrote on shell: BIN = $HOME/perl without $
On Jan 17, 2008 4:57 AM, h3xx [EMAIL PROTECTED] wrote:
On Jan 16, 6:47 am, [EMAIL PROTECTED] (Diego .) wrote:
That's what i do:
$BIN = $HOME/perl
sh Configure -de -Dlocincpth=$BIN -Dloclibpth=$BIN
-Dprefix=$BIN/perl5
Hi,
Quick question:
Anyone here knows a module which can handle viewstate
in asp html forms?? I need to write a script that can
submit a form to the server that is using viewstate..
thanks.
Looking
Hi All,
I am executing following command in Perl script
$vw=system(mk_view $view_name ETC);
if ($vw)
{ print view created successfully\n;
}
When I run this command, I am getting message view created
successfully. But in reality command is not executing at all
Please help
I want to write the errors caught by a 'die' clause into a file.
In others words,
open F somefile.log;
blah-blah or die (print F $@)
but the above does work.
thanks
Hi,
Here is the modified code
$vw=system(mk_view $view_name ETC);
print $vw\n;
if ($vw)
{ print view is not created\n;
}
else{
print View is created \n;
Please help
Regards
Irfan.
From: Sayed, Irfan
Sent: Thursday, January 17,
Hi All,
I have got an xml like this below. I want to read this file in Perl and
want to retrieve the text which end with .xml.
For example , I want to print the text jms/hppjmsmodules-jms.xml,
since it ends with .xml
Thanks in advance for your help.
?xml version='1.0' encoding='UTF-8'?
If you are in a *nix system, you can try to run
$result=` mk_view $view_name ETC`
instead and see the output from $result. It may be helpful to find the root
cause.
-邮件原件-
发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
发送时间: 2008年1月17日 22:16
收件人: beginners@perl.org
主题: Help in
On Jan 17, 2008 5:53 AM, Allam Reddy, Thomas [EMAIL PROTECTED] wrote:
snip
I have got an xml like this below. I want to read this file in Perl and
want to retrieve the text which end with .xml.
For example , I want to print the text jms/hppjmsmodules-jms.xml,
since it ends with .xml
snip
On Thursday 17 January 2008 09:16:17 [EMAIL PROTECTED] wrote:
Hi All,
I am executing following command in Perl script
$vw=system(mk_view $view_name ETC);
if ($vw)
{ print view created successfully\n;
}
When I run this command, I am getting message view created
successfully.
On Jan 17, 2008 9:54 AM, Jonathan Mast [EMAIL PROTECTED] wrote:
I want to write the errors caught by a 'die' clause into a file.
snip
Try
#!/usr/bin/perl
use strict;
use warnings;
$SIG{__DIE__} = sub {
open my $fh, , something.log
or die @_, could not open something.log: $!;
On Jan 17, 2008 4:32 AM, Michael Alipio [EMAIL PROTECTED] wrote:
Anyone here knows a module which can handle viewstate
in asp html forms??
Have you looked on CPAN yet?
http://search.cpan.org
Cheers!
--Tom Phoenix
Stonehenge Perl Training
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
Here is the modified code
$vw=system(mk_view $view_name ETC);
print $vw\n;
if ($vw)
{ print view is not created\n;
}
else{
print View is created \n;
Please help
And what is the modified problem?
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On Jan 17, 10:09 am, [EMAIL PROTECTED] (Chen Yue) wrote:
If you are in a *nix system, you can try to run
$result=` mk_view $view_name ETC`
instead and see the output from $result. It may be helpful to find the root
cause.
You've got it backwards.
system(...)
caues the output to be
Jonathan Mast wrote:
I want to write the errors caught by a 'die' clause into a file.
In others words,
open F somefile.log;
blah-blah or die (print F $@)
but the above does work.
die() sends its output to STDERR, so
open STDERR, '', 'somefile.log' or die $!;
blah-blah or die
-
Will anyone help me with this issue? These three lines of code work,
but work in a way that I am not expecting. When I tell this module to set
no_chdir to 1 it should NOT descend directories yet it does. Am I
supposed to have a wanted routine other than whats below? Below are the 3
lines I
- Original Message
From: Randal L. Schwartz [EMAIL PROTECTED]
To: oryann9 [EMAIL PROTECTED]
Sent: Thursday, January 17, 2008 6:39:35 PM
Subject: Re: find2perl
The following message is a courtesy copy of an article
that has been posted to perl.beginners as well.
oryann9 == oryann9
oryann9 == oryann9 [EMAIL PROTECTED] writes:
oryann9 Will anyone help me with this issue? These three lines of code work,
oryann9 but work in a way that I am not expecting.
Then you aren't reading the docs, or listening to anyone's help here.
Not only that, you've been rude by reposting your
Hi. Sorry for resurrecting such an old conversation.
I don't have any Objects, so I don't think I can have any cycles.
DumpSizes tells me I'm only using around 200KB RAM.
Yet top reports close to 10MB, mostly in the DATA segment.
Where is that memory going? Is it probably the includes? I don't see
Original Message
From: Randal L. Schwartz [EMAIL PROTECTED]
To: oryann9 [EMAIL PROTECTED]
Cc: Perl List beginners@perl.org
Sent: Thursday, January 17, 2008 7:04:40 PM
Subject: Re: find2perl
oryann9 == oryann9 [EMAIL PROTECTED] writes:
oryann9 No one from perlmonks seems to know the
On Jan 17, 2008 3:36 PM, yitzle [EMAIL PROTECTED] wrote:
DumpSizes tells me I'm only using around 200KB RAM.
Yet top reports close to 10MB, mostly in the DATA segment.
Where is that memory going? Is it probably the includes? I don't see
where else it can be.
As it runs, your perl binary
oryann9 == oryann9 [EMAIL PROTECTED] writes:
oryann9 No one from perlmonks seems to know the answer either, likewise here.
This is a lie. If you don't see that it's a lie, then no amount
of answering in EITHER place will HELP you.
Hire a programmer, please.
--
Randal L. Schwartz -
Is there a quick and easy way in perl to get the last entry in a file
for a specific value
For example If I have the following data in a file
len1\len
typeint\type
len2\len
typeint\type
len3\len
typeint\type
I would like to get the line len3\len.
Please keep in mind that the data in the file
[EMAIL PROTECTED] writes:
Please keep in mind that the data in the file is only a sample and it
will not alwasy be the second line from the bottome :-)
I know I can read the file and keep track via a flag of where I am in
the file but this seems way to over-kill. I was hoping for some nice
paul == paul 0403 [EMAIL PROTECTED] writes:
paul Is there a quick and easy way in perl to get the last entry in a file
paul for a specific value
paul For example If I have the following data in a file
paul len1\len
paul typeint\type
paul len2\len
paul typeint\type
paul len3\len
paul
On Jan 17, 2008 4:18 PM, oryann9 [EMAIL PROTECTED] wrote:
I am not a liar! I am a Christian and the only little help I have received is:
If you don't see that the help you're being given is neither only
nor little, you're not paying attention.
P.S. Apologizes for not knowing I was supposed to
On Jan 14, 5:08 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote:
[EMAIL PROTECTED] wrote:
I'm a nearly absolute beginner to Perl,
Then this site ought to be useful:http://learn.perl.org/
and a lot of the text manipulation things confuse me.
Really? Which things specifically, and in what
[EMAIL PROTECTED] wrote:
On Jan 14, 5:08 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote:
[EMAIL PROTECTED] wrote:
I have a large text file with
information essentially broken into lines like this:
findable text with a regexp
information I care about
more findable text
There are plenty of
29 matches
Mail list logo