Brent Dax wrote: > > use Fcntl qw(:seek); > > seek DATA, 0, SEEK_SET; > > @code = <DATA>; > > IMHO, that's too hackish--just reading that doesn't make what you're > doing obvious. It also can only get the main program, not any of the modules it loads. -- John Porter
- RE: Source/Program metadata from within a program Brent Dax
- Re: Source/Program metadata from within a program Bryan C . Warnock
- Re: Source/Program metadata from within a program Bryan C . Warnock
- Re: Source/Program metadata from within a program John Porter
- Re: Source/Program metadata from within a program Michael G Schwern
- Re: Source/Program metadata from within a program Bryan C . Warnock
- RE: Source/Program metadata from within a program Brent Dax
- Re: Source/Program metadata from within a program Michael G Schwern
- Re: Source/Program metadata from within a program Michael G Schwern
- Re: Source/Program metadata from within a progr... Michael G Schwern
- Re: Source/Program metadata from within a program John Porter
- Re: Source/Program metadata from within a program Michael G Schwern
- RE: Source/Program metadata from within a program Garrett Goebel