Re: How to get the file handle of a scalar

2012-07-30 Thread Jenda Krynicky
From: Shlomi Fish > Hi Thomas, > > On Mon, 30 Jul 2012 20:23:58 +0800 > Thomas Dean wrote: > > > Hi there, > > > > I'm wondering how to get the file handle or a reference of a file > > object of a scalar in which stores a string. > > > > Starting from relatively recent versions of Perl, you

Re: updating variable in Parent using Parallel::ForkManager

2012-07-30 Thread John W. Krahn
punit jain wrote: Hi, Hello, I am facing an issue. Below is code snippet : - my $pm = new Parallel::ForkManager(10); my $count=0; foreach my $user (@users) { $pm->start($user) and next; my $result; --- do some processing ---

Re: updating variable in Parent using Parallel::ForkManager

2012-07-30 Thread Shlomi Fish
Hi Punit, On Mon, 30 Jul 2012 19:17:21 +0530 punit jain wrote: > Hi, > > > I am facing an issue. Below is code snippet : - > It is a good idea to include a self-contained reproducing code that will demonstrate the problem - not incomplete snippets. > my $pm = new Parallel::ForkManager(10);

updating variable in Parent using Parallel::ForkManager

2012-07-30 Thread punit jain
Hi, I am facing an issue. Below is code snippet : - my $pm = new Parallel::ForkManager(10); my $count=0; foreach my $user (@users) { $pm->start($user) and next; my $result; --- do some processing --- $pm->finish(0, \$result); }

Re: How to get the file handle of a scalar

2012-07-30 Thread Shlomi Fish
Hi Thomas, On Mon, 30 Jul 2012 20:23:58 +0800 Thomas Dean wrote: > Hi there, > > I'm wondering how to get the file handle or a reference of a file > object of a scalar in which stores a string. > Starting from relatively recent versions of Perl, you can simply do: use autodie; my $buffer =

How to get the file handle of a scalar

2012-07-30 Thread Thomas Dean
Hi there, I'm wondering how to get the file handle or a reference of a file object of a scalar in which stores a string. Thanks, Thomas -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: read file attributes

2012-07-30 Thread Irfan Sayed
thanks rob. how about Win32::File? regards irfan From: Rob Coops To: Irfan Sayed Cc: "beginners@perl.org" Sent: Monday, July 30, 2012 5:23 PM Subject: Re: read file attributes On Mon, Jul 30, 2012 at 1:24 PM, Irfan Sayed wrote: hi, > >i need to acce

Re: read file attributes

2012-07-30 Thread Rob Coops
On Mon, Jul 30, 2012 at 1:24 PM, Irfan Sayed wrote: > hi, > > i need to access the attributes of file. > more precisely, i need to check if the file is digitally signed or not > > > for example; if i right click on file, then i need to check if the > "digital signature" tab is there or not for tha

read file attributes

2012-07-30 Thread Irfan Sayed
hi, i need to access the attributes of file. more precisely, i need to check if the file is digitally signed or not for example; if i right click on file, then i need to check if the "digital signature" tab is there or not for that specific file and valid certificate is there. please suggest