Alpesh Naik asked:
> I am trying to edit the text file using perl script.
> i want to replace a particular text of file with new text.
>
> but the problem is that the new text appeared at end of file;
>
> How can i solve this problem,
> pls. help
We can help you much better if we can a
On Tue, Jul 7, 2009 at 02:25, Alpesh Naik wrote:
> Hi all,
>
> I am trying to edit the text file using perl script.
> i want to replace a particular text of file with new text.
>
> but the problem is that the new text appeared at end of file;
>
> How can i solve this problem,
> pls. help
>
Hi all,
I am trying to edit the text file using perl script.
i want to replace a particular text of file with new text.
but the problem is that the new text appeared at end of file;
How can i solve this problem,
pls. help
Regards,
Alpesh.
On Tue, 07 Jul 2009 08:19:50 +1000, Emanuele Osimo
wrote:
Hello there,
I'm a biologist and I'm trying to start using bioperl for bioinformatic
purposese but I've never programmed.
Could you suggest me something to read to start from 0 level?
Have you looked at Beginning Perl for Bioinformat
Emanuele Osimo wrote:
> Hello there,
> I'm a biologist and I'm trying to start using bioperl for bioinformatic
> purposese but I've never programmed.
> Could you suggest me something to read to start from 0 level?
>
> In the meantime, I installed bioperl and I'm doing some little trials to get
> t
On 7/6/09 Mon Jul 6, 2009 3:19 PM, "Emanuele Osimo"
scribbled:
> Hello there,
> I'm a biologist and I'm trying to start using bioperl for bioinformatic
> purposese but I've never programmed.
> Could you suggest me something to read to start from 0 level?
See the FAQ 2 for Perl. Try this at a c
Hello there,
I'm a biologist and I'm trying to start using bioperl for bioinformatic
purposese but I've never programmed.
Could you suggest me something to read to start from 0 level?
In the meantime, I installed bioperl and I'm doing some little trials to get
to know something: I would like to cr
On Mon Jul 06 2009 @ 3:31, Harry Putnam wrote:
> Thanks to all ...
> Now I'm curious about something else:
>
> Is the mode in a stat(file) readout something still different
> than octal or decimal?
As John answered, there's more there than just the permissions. If you
check perldoc -f stat, ther
Harry Putnam wrote:
Thanks to all ...
Now I'm curious about something else:
Is the mode in a stat(file) readout something still different
than octal or decimal?
I see `33261' show up in the `mode' slot on a file with 755 permissions
(from perldoc -f stat:
[...]
($dev,$ino,$mode,$nli
Thanks to all ...
Now I'm curious about something else:
Is the mode in a stat(file) readout something still different
than octal or decimal?
I see `33261' show up in the `mode' slot on a file with 755 permissions
(from perldoc -f stat:
[...]
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$si
Eric Veith wrote the following on 07/06/2009 04:35 AM:
Dennis,
Gunnar is right, you're misusing character classes.
A correct regular expression could look like this (using /x and Perl 5.10's
named capture buffers):
/(?]+>)
(?]+>)
\s,
(?]+>]+>)
(?[^<]+)
/x
I did not test that, but I guess you
> ""XUFENG"" == "XUFENG" writes:
"XUFENG"> Hi,
"XUFENG"> I plan to implement a threading or forking http server to
receive client request,after handling the requested url,it gives out new urls.
"XUFENG"> What is the better module to use?
"XUFENG"> Thank you for any suggest
That works like a charm -- thanks!
"Chas. Owens" wrote on 07/05/2009 03:57:34 AM:
> From:
>
> "Chas. Owens"
>
> To:
>
> Eric Veith/Germany/i...@ibmde
>
> Cc:
>
> beginners@perl.org
>
> Date:
>
> 07/05/2009 03:58 AM
>
> Subject:
>
> Re: Redirecting STDOUT and STDERR for system()
>
> On Thu, Jul
On Mon Jul 06 2009 @ 7:00, Harry Putnam wrote:
> Can anyone tell me how printing of $mode = 0755 turns into 493?
Yup: what's in $mode is an octal number. Its decimal equivalent is 493. What
you really want to print out is the string '0755', but the string and the
octal number are not the same thi
On Mon, Jul 6, 2009 at 08:00, Harry Putnam wrote:
snip
> Can anyone tell me how printing of $mode = 0755 turns into 493?
snip
> my $mode = 0755;
snip
> print "hpdb chmod $mode $fname\n";
snip
0755 is 493. More specifically they are two representations of the
same number: the first i
Harry Putnam asked:
> The script below is my first usage of perls `chmod', but it appears to
> be in keeping with the info at perldoc -f chmod.
>
> But somehow in the print of $mode it turns into 493... even though it
> is set to 755. Its just the print though... the actual chmod appears
> to be
The script below is my first usage of perls `chmod', but it appears to
be in keeping with the info at perldoc -f chmod.
But somehow in the print of $mode it turns into 493... even though it
is set to 755. Its just the print though... the actual chmod appears
to be working as expected.
Can anyon
2009/7/6 XUFENG :
> Hi,
> I plan to implement a threading or forking http server to receive
> client request,after handling the requested url,it gives out new urls.
> What is the better module to use?
A perl module or httpd module?
for perl module, could use CGI.pm and look for redi
Hi,
I plan to implement a threading or forking http server to receive
client request,after handling the requested url,it gives out new urls.
What is the better module to use?
Thank you for any suggestions.
--
XUFENG
2009-07-06
--
To unsubsc
Dennis,
Gunnar is right, you're misusing character classes.
A correct regular expression could look like this (using /x and Perl 5.10's
named capture buffers):
/(?]+>)
(?]+>)
\s,
(?]+>]+>)
(?[^<]+)
/x
I did not test that, but I guess you'll get the meaning. :-)
HTH
-- Eric
"Den
20 matches
Mail list logo