RE: POSIX

2012-03-21 Thread Wagner, David --- Sr Programmer Analyst --- CFS
>-Original Message- >From: Chris Stinemetz [mailto:chrisstinem...@gmail.com] >Sent: Wednesday, March 21, 2012 15:14 >To: beginners@perl.org >Subject: POSIX > >Is there a way to take localtime less two hours? So there is an offset of >2? > >example line: > >my $file = sprintf("$dirPath%s00.H

Re: posix shared memory

2008-03-13 Thread Jenda Krynicky
From: "Nei Kai" <[EMAIL PROTECTED]> > 2008/3/11, Tom Phoenix <[EMAIL PROTECTED]>: > > On Mon, Mar 10, 2008 at 5:44 PM, Nei Kai <[EMAIL PROTECTED]> wrote: > > > > > I found a mmap module in CPAN, called Sys::Mmap, whose > > > version is V0.13 and is not updated since 2002. > > > So I am not s

Re: posix shared memory

2008-03-10 Thread Nei Kai
Hi, Tom 2008/3/11, Tom Phoenix <[EMAIL PROTECTED]>: > On Mon, Mar 10, 2008 at 5:44 PM, Nei Kai <[EMAIL PROTECTED]> wrote: > > > I found a mmap module in CPAN, called Sys::Mmap, whose > > version is V0.13 and is not updated since 2002. > > So I am not sure if it is supposed to be used nowada

Re: posix shared memory

2008-03-10 Thread Tom Phoenix
On Mon, Mar 10, 2008 at 5:44 PM, Nei Kai <[EMAIL PROTECTED]> wrote: > I found a mmap module in CPAN, called Sys::Mmap, whose > version is V0.13 and is not updated since 2002. > So I am not sure if it is supposed to be used nowadays. What happened when you tried it? > And why doesn't perl tr

Re: POSIX valid_user.al

2005-02-02 Thread ds10025
I maybe missing something here. I try to rpmbuild authen-smb.0.90.src.rpm That fails to generate rpm file. I did try to re-recompile authen-smb.0.91.tar.gz It complies OK no errors. It install Smb files. But, it do not generate valid_user.al file. Do I need ti set a flag to create the valid_user.al

Re: POSIX valid_user.al

2005-02-02 Thread Roman Vašíček
Probably wrong/broken installation of Authen::Smb. Valid_User is defined in file smbval/valid.c which is part of Authen::Smb distribution. Try to recompile/reinstall Authen::Smb again. Roman On Wed, Feb 02, 2005 at 12:36:06PM +, [EMAIL PROTECTED] wrote: > Morning > > > I'm trying to run

Re: POSIX module

2004-09-29 Thread Errin Larsen
On Wed, 29 Sep 2004 12:27:03 -0400, Bob Showalter <[EMAIL PROTECTED]> wrote: > Errin Larsen wrote: > > When I use the following in my code, it runs and > > works fine: > > > > use POSIX 'setsid'; > > use POSIX 'errno_h'; > > use POSIX ':sys_wait_h'; > > > > However, when I try to combine thos

RE: POSIX module

2004-09-29 Thread Bob Showalter
Errin Larsen wrote: > When I use the following in my code, it runs and > works fine: > > use POSIX 'setsid'; > use POSIX 'errno_h'; > use POSIX ':sys_wait_h'; > > However, when I try to combine those into one line: > > use POSIX qw/setsid errno_h :sys_wait_h/; > > Then I get the follow

Re: POSIX module

2004-09-29 Thread Errin Larsen
On Wed, 29 Sep 2004 11:32:58 -0400, Jim <[EMAIL PROTECTED]> wrote: > > > > > Hi Perlers, > > > > I've seen a lot of tutorial or example code dealing with the > > POSIX module that does something like this: > > > > use POSIX ':sys_wait_h'; > > > > What does the ':' mean/do in the above line? >

RE: POSIX module

2004-09-29 Thread Jim
> Hi Perlers, > > I've seen a lot of tutorial or example code dealing with the > POSIX module that does something like this: > > use POSIX ':sys_wait_h'; > > What does the ':' mean/do in the above line? > Besides googling for it, try reading: perldoc perlipc perldoc perldoc -f waitpid perl

RE: POSIX module

2004-09-29 Thread Bob Showalter
Errin Larsen wrote: > Hi Perlers, > > I've seen a lot of tutorial or example code dealing with the POSIX > module that does something like this: > > use POSIX ':sys_wait_h'; > > What does the ':' mean/do in the above line? It's called a "tag" and is typically used to import a "basket" of symb

Re: POSIX::getchar

2003-09-12 Thread Rob Dixon
John Fisher wrote: > > What am I doing wrong? Here are 3 attempts at trying to use getchar. > It seems I am following the Usage, but I guess not. > > > $ perl -e 'use POSIX;$ab="10";$pab=POSIX::getchar($ab);print $ab,"\n",$pab;' > Usage: POSIX::getchar() at -e line 1 > > > $ perl -e 'use POSIX;$ab=

Re: POSIX::getchar

2003-09-12 Thread James Edward Gray II
On Friday, September 12, 2003, at 07:18 AM, JOHN FISHER wrote: What am I doing wrong? Here are 3 attempts at trying to use getchar. It seems I am following the Usage, but I guess not. POSIX's getchar() doesn't take any arguments. It pulls from STDIN automatically. Hope that helps. James --

Re: POSIX 'strftime'

2003-04-06 Thread John W. Krahn
David Gilden wrote: > > Hello, Hello, > How can get the date formatted to include the day of the week (plus one) man 3 strftime [snip] %a The abbreviated weekday name according to the cur­ rent locale. %A The full weekday name according to the current