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
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"
> > -Dpref
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 fo
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, Janua
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.
http://www.bea.com/ns/weblogic/90/
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 sys
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
s
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 c
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]
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
-
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 h
- 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" == or
> "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 repos
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
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 answe
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
1<\len>
int<\type>
2<\len>
int<\type>
3<\len>
int<\type>
I would like to get the line 3<\len>.
Please keep in mind that the data in the file is only a sa
[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 ni
> "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> 1<\len>
paul> int<\type>
paul> 2<\len>
paul> int<\type>
paul> 3<\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 supp
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, an
[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 se
29 matches
Mail list logo