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? > > > > Besides googling for it, try reading: > perldoc perlipc > perldoc perldoc -f waitpid > perldoc POSIX > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.770 / Virus Database: 517 - Release Date: 9/27/2004 > >
Thank you Bob, and Jim I have read about this. My question is more about the 'use' code then about the POSIX module. It's just a really big module that has a lot of these tags in it, it seems. Here's my problem: 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 following error: # ismon.pl ":errno_h" is not exported by the POSIX module at /usr/perl5/5.6.1/lib/sun4-solaris-64int/POSIX.pm line 19 ":sys_wait_h" is not exported by the POSIX module at /usr/perl5/5.6.1/lib/sun4-solaris-64int/POSIX.pm line 19 Can't continue after import errors at /usr/perl5/5.6.1/lib/sun4-solaris-64int/POSIX.pm line 19 BEGIN failed--compilation aborted at ./ismon.pl line 3. First of all, I'm not putting a ':' in front of 'errno_h' in my code, but Perl seems to assume it's there ... why? Is there a difference between the two implementations above that I'm not seeing? --Errin -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>