Re: FILEHANDLE to print to nothing

2003-08-25 Thread Chuck Fox
There is always /dev/null if you really want it to go to the big bit bucket in the sky. Chuck [EMAIL PROTECTED] wrote: Sure, just use this without an open or close statement... print VOID 'test'; I'm not exactly sure how Perl handles this, but since there is no filehandle called VOID is just

RE: FILEHANDLE to print to nothing

2003-08-25 Thread Dan Muey
> Sure, just use this without an open or close statement... > > print VOID 'test'; > Cool, great for the test! > I'm not exactly sure how Perl handles this, but since there > is no filehandle called VOID is just goes away. > Struct is ok with that but warnings is not. > I wouldn't leave t

RE: FILEHANDLE to print to nothing

2003-08-25 Thread Hanson, Rob
Sure, just use this without an open or close statement... print VOID 'test'; I'm not exactly sure how Perl handles this, but since there is no filehandle called VOID is just goes away. I wouldn't leave this in there when it goes into production, but it shouldn't cause any problems during testing