Vinay Thombre wrote at Tue, 05 Aug 2003 17:31:32 +0530:
> I am novice to Perl and learning very basic things. I want to replace a
> text in a file with new text. I want to do it programatically. How can I
> do that?
What have you learned so far yet?
What is your tutorial?
What does it say about
>
> On Wed, 6 Aug 2003 12:38:04 -0700, "Michael Adrian"
> <[EMAIL PROTECTED]> wrote:
>
> > I have a question re Net::FTP.
> > I would like to change the record size when I 'put' the file I'm
> > ftp'ing. What argument would I use, if any to do thi
Hello all,
Incase of reading a bitmap file into an array variable , if I have to get the hex
value do I
have to convert the bitmap file into Hex before sending it into an array variable
or after reading the bitmap file into an array what should I do if I want the bitmap
file data to be output
Yep, the "require" doc says that clearly. I should have read it first before posting.
Just got things working ;)
-Sharad
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 6:00 PM
To: Gupta, Sharad; [EMAIL PROTECTED]
Subject: Re: http paths
oracle doesnt accept a limit clause, so i have to work around that, any ideas! i been
stuck on this issue over a few days...
-Original Message-
From: Gary Stainburn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 8:57 AM
To: Coello, David; [EMAIL PROTECTED]
Subject: Re: how to
>
> That's because eval BLOCK still compiles the block at
> compile-time. You want to use eval EXPR.
>
> eval 'use Module ...; 1';
> if ($@) { uh oh }
>
> You can also use q{} instead of single quotes for more
> code-like appearance.
Excellent Jeff! Thanks for that tid bit I missed it so
Hello all, this is my first post to this group, and I hope it isn¹t
inappropriate. Anyway I have the following code in a CGI I¹m working on,
it¹s supposed to translate the ugly %(hexhex) markers for non-alphanumeric
characters back into normal text and assign the results to elements of an
array. I
Is there any module in Perl can dealing with Procession ID on Win32?
And does Perll able to stop or start a services / application?
Any pointers where I can start from ?
Thank you very much...
You method does work !
However, you can write as :
$line[1] /= 1000;
# which is the same as $line[1] = $line[1] / 1000;
HTH
- Original Message -
From: "Sommer, Henrik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 11:05 PM
Subject: Simple question
> Hi,
>
For more info check this:
http://search.cpan.org/author/GAAS/libwww-perl-5.69/lwpcook.pod#PROXIES
José.
-Original Message-
From: Darbesio Eugenio [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 5:02 PM
To: [EMAIL PROTECTED]
Subject: get http through a proxy authentication
Hi
"Trevor Morrison" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hi,
>
> I am trying to step through each line of a file that contains orders that
> were place through a internet shopping cart. I have this code:
>
> open(ORDER,$order) or die "Error opening \"$order\": $OS_ERROR\n"
Hi All,
I have a path like:
$s = "http::/foo/bar:http::/foo1/bar1:http/foo1/bar1";
I am trying to get all the http paths which are seperated by ":" like this:
@x = ($s =~ /(http::.*?):(?=http::.*?)/g)
The problem is i get all the elements in @x except the last one.
Where is that??.
-Sharad
Can someone explain the interaction of POSIX ERRNO and PERL scripts? When
does ERRNO get set and is it set with each PERL call? I cant seem to track
when '$!' is set. Sometimes it will be set to 0, and others 2. I am having
difficultly nailing its behavior down.
If there is good reading I am m
On Aug 5, Jakob Kofoed said:
>1 5001
>2 5002
>3 5003
[snip]
Are those line numbers actually in the file too? If so, that might cause
problems for you.
>open IN, "<", "num2.txt";
>my @in = ;
At this point, @in holds all the lines of the file...
>push @col1, $in[0];
... but here, you onl
> I have a question re Net::FTP.
> I would like to change the record size when I 'put' the file
> I'm ftp'ing. What argument would I use, if any to do this?
>
Change the record size? What do you mean by record?
Do you mean only ftp xx amount of bytes of a file to the ftp site or
--
To un
On Thu, Aug 07, 2003 at 11:00:07PM -0400, perlwannabe wrote:
> > Steve Grazzini wrote at Wed, 06 Aug 2003 23:38:00 -0400:
> >> my $pat = 'c:\testdir\*030977*.*';
^
That looks like trouble. Using forward slashes, as Janek has
done below, would have been smarter.
> >>
Hi!
Reading all these message about reading a 'big' file (I know that 180MB its
not a big file), but what's the difference from reading like this:
@file = ;
foreach (@file) {
print $_;
}
and with a While?
Thanks!!
--
Pablo Fischer Sandoval ([EMAIL PROTECTED])
http://www.pablo.com.mx
h
Pablo Fischer wrote at Tue, 05 Aug 2003 15:43:19 +:
> Reading all these message about reading a 'big' file (I know that 180MB its
> not a big file), but what's the difference from reading like this:
>
> @file = ;
That reads all lines of a file into the @file array.
That means, at least all
On Thursday, August 07, 2003 11:28, Dan Muey wrote:
>>>sub dump_functions {
>>>use Class::Inspector;
>>>my $r = ref $_[0];
>>>return [ grep /^$r/, @{
>>>Class::Inspector->methods($r,'full','public')} ] }
>>
>> Yeah. The 'return' keyword can even be left out.
>
>Nice! I'll leave it i
19 matches
Mail list logo