I have a log file which has first few characters of every line as a timestamp.
2010-06-01 04:56:02,802 DEBUG
{Thread-27} Some text message
2010-06-01 04:56:02,802 DEBUG
{Thread-27} Some text message
2010-06-01 04:56:02,802 DEBUG
{Thread-27} Some text message
2010-06-01 04:56:02,802 DEBUG
{Thread-27} Some text message
…
I use the following code for printing the line number in Text widget.
my $c=0; my $r=0;
$txt = $mw-Text( -background
='white',
-width=>400,
-height=>300,
-selectbackground => 'skyblue',
-insertwidth => 5,
-borderwidth =>3,
…
I'm using Net::FTP for getting a remote hosted file. I want to read the file. I don't want to get the file from the remote host to my host (localhost), but I need to read the file content only. Is there any module to do this?
use strict;
use warnings;
use Data::Dumper;
use Net::FTP;
my $ftp = Net::FTP->new("192.168.8.20", Debug => 0)
or…
fopen function is not working in php.
I wrote the following code in my php file.
$fh = fopen("/home/sugumar/Public_html/sugumar/public_html/123","a+");
fwrite($fh,"hello");
I ran this code from command line: php file_name.php its working fine.
But If I run this code from browser it shows the following error.
…
Is their any way to add background image in VIM.
like,
:set background=dark
I don't know is is possible or not. If you know any way to do this tell me.
Thanks.....
Is their any way to add background image in VIM.
like, I don't know is is possible or not. If you know any way to do this tell me.
:set background=dark
Thanks.....
Hi. how can I clear the .viminfo file.
I want to clear the Command Line History,File marks, Jumplist etc.,
other then Search String History
Is there any way to do this.
In psql we have PL/Perl to communicate with external program when the new row is inserted into our table. Like that is there any way (procedural language ) to communicate with external program in Oracle . For achieving this things, what should I do.....?
Can any one help me out of this problem.....