Wood Family wrote: > I'm using Active Perl on Windows 98. I would expect the syntax below to open > a valid file handle. > > open(FILEHANDLE, "system(ipconfig)|") or die "Cannot open"; > > Instead I get the "Cannot open" message. Can someone throw any light on > this?
open FH, 'ipconfig|' or die "ipconfig: $!"; -- ,-/- __ _ _ $Bill Luebkert ICQ=162126130 (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl) -/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/ _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs