Ask a Question related to PERL Modules, Design and Development.
-
Benjamin Goldberg #1
Re: A Possible Module?
Steffen Müller wrote:
[snip]That isn't a quine, since it reads it's own source in order to print> *_=*DATA;seek+_,0,0;print<_>;
> __DATA__
> What's a quine?
itself. If it were a Real quine, it wouldn't use the *DATA filehandle.
--
$a=24;split//,240513;s/\B/ => /for@@=qw(ac ab bc ba cb ca
);{push(@b,$a),($a-=6)^=1 for 2..$a/6x--$|;print "$@[$a%6
]\n";((6<=($a-=6))?$a+=$_[$a%6]-$a%6:($a=pop @b))&&redo;}
Benjamin Goldberg Guest
-
How to set module to be on top of another module
hello guys!! i'm just newbie in flex, and cant figured out how to manage loaded modules to set who's on top of each other. if i load one module... -
RFC: New module 'Module::Bundled::Files'
I've written a module, tentatively named Module::Bundled::Files. A section of the POD docs is included to (attempt) to explain it's purpose. It... -
looking for a module
has anyone ever seen modules with any of these features? 1) take a block of text and list all words in alpha order a) list word only once with... -
Module Object and sub module function
Howdy folks, Yet another module question. I'm so close and I've done this but I can't get it to work. I am writing a module that is an... -
nvnet module not working after kernel (and module) recompile
--- SYNeR <tups77@tsn.cc> escribió: Make sure that when you 'make-kpkg <options here> kernel_image kernel_headers' that you have that... -
Steve Grazzini #2
Re: A Possible Module?
Benjamin Goldberg <ben.goldberg@hotpop.com> writes:
(*_,*_) = \(*ARGV,$${^W});> Steffen Muller wrote:
> [snip]>>> *_=*DATA;seek+_,0,0;print<_>;
>> __DATA__
>> What's a quine?
> That isn't a quine, since it reads it's own source in order to print
> itself. If it were a Real quine, it wouldn't use the *DATA filehandle.
print <> if split
--
Steve
Steve Grazzini Guest
-
Steve Grazzini #3
Re: A Possible Module?
Benjamin Goldberg <ben.goldberg@hotpop.com> wrote:
% cat quine> Steve Grazzini wrote:>> > (*_,*_) = \(*ARGV,$${^W});
> > print <> if split
> Ehh? This doesn't print out anything. It just
> hangs, waiting for EOF.
(*_,*_) = \(*ARGV,$${^W});
print <> if split
% perl quine
(*_,*_) = \(*ARGV,$${^W});
print <> if split
It does need to be saved in a file -- and of course
$^W needs to be zero.
And yes, I know it's not really a quine. :-)
--
Steve
Steve Grazzini Guest



Reply With Quote

