#perl - Sat 31 Mar 2007 between 14:11 and 00:00



Randalnote that the salt is always the first two chars of the result
Jmax-why is that notable?
Randalit's necessary!
eval: crypt("abcdefgh", "ij")
buubotRandal: ijFYNcSNctBYg
Randaleval: crypt("abcdefgh", "ik")
buubotRandal: iklPKkFSAzL9Q
Randalsee - two different crypts for the same string
you have to know how to match it later
Jmax-what if you had a larger salt?
Randalso you use the crypted version's salt (first two chars) to crypt() the original later
jonsmith1982like linux login encryption
Randalthe salt is always only two chars
for crypt(3)
Jmax-ah ok
Randalactually - perl's crypt calls crypt(3)
if your crypt(3) does more then it follows those rules
Jmax-thank you :)
diakopterI'm having a problem with ExtUtils::MM_Unix - when installing some modules from the CPAN (that apparently don't take this feature of ExtUrils::MM_Unix into account), some of their tests depend on warning strings being exactly equal, and in the target comparison, the line numbers are "hardcoded". The problem is, ExtUtils::MM_Unix is inserting the "not running under some shell" idiom at the top of each test, causing those tests to fail (
Randalyeah - testing sucks sometimes
ignore the tests, yell at the developer
diakopterRandal: ok
I thought about getting that portion of MM_Unix to not insert any newlines at all, but I don't know if other module authors take this idiom insertion into account.
Randalwell, I may be jumping to a hasty conclusion. :)
it *might* be MM_Unix's problem too
diakopteroh, now this is good. the module I'm trying to install is by the same author as EU:MM
I guess I could backtrace all the releases to see where this crept in
Test::Simple, by the way
oh. it's been in there for a *long* time
perlmasterhi
diakopterfwiw, Perl::Critic has this: "_unfix_shebang" that detects it
ScrwLoosehi there, is there any way to check a reference type ?
in perl, for example if I got arrays, scalar and hash references within a array, how do I know how to manage them?
mmk[null]ref ?
ScrwLoosewith ref?
Randalso you can just type that interactively
Lotsolet me give it another go
cool
Randaland if you have ReadLine installed
you can just hit uparrow to edit

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 

IrcArchive