At 6:41 AM +0100 3/18/10, HACKER Nora wrote:
Hi list,
I want to do a 'df' on a diretory on another machine via 'rexec'. I
thought I could do that via the Perl module Filesys::Df, but then I
realized that I can't call a function of a module directly because the
rexec executes a normal shell comma
Hi list,
I want to do a 'df' on a diretory on another machine via 'rexec'. I
thought I could do that via the Perl module Filesys::Df, but then I
realized that I can't call a function of a module directly because the
rexec executes a normal shell command. I would have wanted something
like this:
u
Dear Sholmi,
/EuclidSymbol is not constant. I will vary based on the font used in the file.
Regards,
Ganesh
On Mon, Mar 15, 2010 at 6:36 PM, Shlomi Fish wrote:
> Hi Ganesh!
>
> First a few notes on your code.
>
> On Monday 15 Mar 2010 14:10:25 Ganesh Babu N wrote:
>> Dear All,
>>
>> I am using
Hi Parag,
Parag Kalra wrote:
Now the customer wants to use the framework on a Solaris machine (it has
Perl installed - 5.8.4). However that Solaris machine doesn't have DBI
module as a result of which I can't use my framework. But it has Oracle
client installed using which (sqlplus, sqlldr etc
Hey All,
I am facing this situation where I have coded a Perl framework on Windows
and its all working fine. The framework mostly uses DBI and ODBC module to
connect to both Oracle server, execute SQL queries, fetch Rows etc etc.
Now the customer wants to use the framework on a Solaris machine (i
- Original Message -
From: "Marilyn Sander"
perl tryperl.pl E:\test_downloads H:\no_such_directory D:/whatever
argument 0 is E:/test_downloads
argument 1 is H:/no_such_directory
argument 2 is D:/whatever
I can't reproduce this behaviour with any of my ActiveState (or other)
build
Does anyone have insight into this situation? On one Windows 2003 server
system, backslashes in path names in arguments to Perl are getting translated
to forward slashes. On other Windows 2003 systems, with the exact same version
and build of ActiveState Perl installed, the conversion to forwar
On Wed, Mar 17, 2010 at 10:09 PM, Shlomi Fish wrote:
> Hi raphael()!
>
> I'll comment on your code below.
>
> On Wednesday 17 Mar 2010 18:23:29 raphael() wrote:
> > On Wed, Mar 17, 2010 at 9:05 PM, Shlomi Fish
> wrote:
> > > On Wednesday 17 Mar 2010 16:49:01 raphael() wrote:
> > > > Hello,
> > >
Hi raphael()!
I'll comment on your code below.
On Wednesday 17 Mar 2010 18:23:29 raphael() wrote:
> On Wed, Mar 17, 2010 at 9:05 PM, Shlomi Fish wrote:
> > On Wednesday 17 Mar 2010 16:49:01 raphael() wrote:
> > > Hello,
> > >
> > > Is there a way to save/store downloaded data (using WWW::Mechan
Harry Putnam wrote:
I've finally gone on around the bend, I guess... I'm not seeing why the
script below <./t2> doesn't show the value of $mode when fed by
the ls cmd shown:
(first, to shows whats here)
ls -l *[eo2]
-rw-r--r--+ 1 reader reader 5 Mar 16 15:26 one
-rwxr-xr-x+ 1 reader re
> "h" == hsfrey writes:
h> I have a big data file - about 7000 entries, each about 100 bytes.
h> I have to search it on the order of 7000 times, so I need to keep it
h> in memory.
just fyi, that is a tiny data file today. less than 1MB.
uri
--
Uri Guttman -- u...@stemsystems
On Wed, Mar 17, 2010 at 9:05 PM, Shlomi Fish wrote:
> On Wednesday 17 Mar 2010 16:49:01 raphael() wrote:
> > Hello,
> >
> > Is there a way to save/store downloaded data (using WWW::Mechanize) in
> > memory (temporarily)
> > rather than writing it to disk. Like store 10MB in memory and then flush
Hi Greg,
Greg wrote:
I have a script, where a user can choose between different options (add
user (U), add item (I), search (S)). I want the user to hit either U, I
or S. However, right now, he needs to hit return as well. Is there a way
to get input without hitting return?
Take a look at
Hi Harry,
Harry Putnam wrote:
Raymond Wan wrote:
The other option is to *not* use ls and get your script to stat the
file directly (NB: I guess you want stat and not lstat?). In this
case, you should get a list of files in the directory, and then run
stat on each one. If you do this (which
Greg wrote:
Hi everybody,
Hello,
I have a script, where a user can choose between different options (add
user (U), add item (I), search (S)). I want the user to hit either U, I
or S. However, right now, he needs to hit return as well. Is there a way
to get input without hitting return?
pe
Hi everybody,
I have a script, where a user can choose between different options (add
user (U), add item (I), search (S)). I want the user to hit either U, I
or S. However, right now, he needs to hit return as well. Is there a way
to get input without hitting return?
I was thinking about a l
hsfrey wrote:
I have a big data file - about 7000 entries, each about 100 bytes.
700,000 bytes is *not* a big file these days.
I have to search it on the order of 7000 times, so I need to keep it
in memory.
As I search, some items no longer need to be searched, but they still
need to be sav
On Wednesday 17 Mar 2010 16:49:01 raphael() wrote:
> Hello,
>
> Is there a way to save/store downloaded data (using WWW::Mechanize) in
> memory (temporarily)
> rather than writing it to disk. Like store 10MB in memory and then flush it
> to the hard disk when data reaches 10MB.
Yes, standard Perl
Parag Kalra wrote on 03/16/2010 07:44:43 AM:
> Just couple of questions - How can I make my code readonly using Git
> such that it can be edited only when it is checked out.
The only thing that comes near to what you describe is a git repo created
with --bare. It's one that you can push to, and
hsfrey wrote:
> Does anyone have any suggestion about how I could retrieve the lost
> memory?
You know it's really, really difficult to give meaningful advice without
seeing the code.
--
Just my 0.0002 million dollars worth,
Shawn
Programming is as much about organization and communicati
Hello,
Is there a way to save/store downloaded data (using WWW::Mechanize) in
memory (temporarily)
rather than writing it to disk. Like store 10MB in memory and then flush it
to the hard disk when data reaches 10MB.
Its just a curiosity since utorrent and jdownloader (Java) do this
(though I cann
Raymond Wan writes:
> Hi Harry,
>
>
> Raymond Wan wrote:
>> The other option is to *not* use ls and get your script to stat the
>> file directly (NB: I guess you want stat and not lstat?). In this
>> case, you should get a list of files in the directory, and then run
>> stat on each one. If yo
On Tue, Mar 16, 2010 at 6:49 PM, Shlomi Fish wrote:
> Hi all!
>
> There are new additions to http://perl-begin.org/ , the site for Perl
> Beginners. Here is a summary of them:
>
> <<<
>
> ==16-March-2010: Topical and Uses Pages==
>
> We added a [http://perl-begin.org/uses/email/ a page about usin
Shlomi Fish writes:
>> Script content
>> cat t2
>> #!/usr//bin/perl
>> use strict;
>> use warnings;
>> my $mode;
>> while(<>){
>>chomp;
>>$mode = (lstat( $_))[2];
>>print "$_: " . $mode . "\n";
>> }
>
> This script:
>
>
> #!/usr//bin/perl
>
> use strict;
> use warnings;
>
I have a big data file - about 7000 entries, each about 100 bytes.
I have to search it on the order of 7000 times, so I need to keep it
in memory.
As I search, some items no longer need to be searched, but they still
need to be saved. To save search time, I store the data as a set of
parallel has
Hi Harry,
Raymond Wan wrote:
The other option is to *not* use ls and get your script to stat the file
directly (NB: I guess you want stat and not lstat?). In this case, you
should get a list of files in the directory, and then run stat on each
one. If you do this (which is perhaps the bet
Hi Harry,
Harry Putnam wrote:
ls *[eo2] | ./t2
reader > ls *[eo2] | ./t2
...
Script content
cat t2
#!/usr//bin/perl
use strict;
use warnings;
my $mode;
while(<>){
chomp;
$mode = (lstat( $_))[2];
print "$_: " . $mode . "\n";
}
There are at least two ways of doing wha
On Tuesday 16 Mar 2010 23:31:23 Harry Putnam wrote:
> I've finally gone on around the bend, I guess... I'm not seeing why the
> script below <./t2> doesn't show the value of $mode when fed by
> the ls cmd shown:
>
> (first, to shows whats here)
>
>ls -l *[eo2]
> -rw-r--r--+ 1 reader reader
On 17 March 2010 02:13, Doug Cacialli wrote:
> On Tue, Mar 16, 2010 at 4:36 AM, Dermot wrote:
>> On 16 March 2010 00:29, Doug Cacialli wrote:
>>> Hello list,
>>
>>>
>>> Building Lingua-Stem
>>> Can't locate Lingua/Stem.pm in @INC (@INC contains:
>>> C:/strawberry/perl/lib C:strawberry/perl/site/
29 matches
Mail list logo