#perl - Thu 3 May 2007 between 01:52 and 02:04



stuufthe shell updates them i think
cfeddeI think %env is getting stripped
dre^how do people normally deal with this?
cfeddedre^: for historical reasons there are two kinds of shell varaibles. those that are exported and those that are not.
perl only sees the ones that are exported.
dre^indeed. it sees the same stuff that 'env' returns.
cfeddeprobably.
stuuflook at Term::Size
dre^so I guess I'm stuck with either some module such as Term::Readkey or... maybe there's some other way to ask the terminal how big it is
cfeddeI think I'd use a library to deal with stuff like that. Dealing with silly async winch events seems lile somehting I don't what to deal with myself.
Jmaxcore: Term::Readkey
buubotTerm::Readkey will be added by christmas
Jmaxhm, i thought it was core
dre^I just don't want to include any modules that aren't standard... so I'll probably just end up using some of Term::Size's methods
Jmaxor maybe it's part of Bundle::CPAN
core: Term::ReadKey
buubotTerm::ReadKey will be added by christmas
Jmaxoh well
cfeddedre^: um.. what is a "standard" module?
stuufTerm::Size actually does an ioctl TIOGWINSZ
cfeddeyou mean "core"?
dre^in my case, I mean "that which ships by default in Mac OS X", but I don't know how that aligns with any other categories or lists of modules
Aankhen``How do I force `make test` to run perl using -T?
stuufyou could also do `stty size`
Aankhen``(Trying to build Test::WWW::Mechanize on Win32.)
Jmaxbuild without testing ?
alesterAankhen``: Why -T?
cfeddeAankhen``: PERLOPT=-t
Aankhen``alester: Apparently the tests require it.
cfeddeAankhen``: um export PERLOPT=-t
alesterSorry about the failing tests, Aankhen``
Aankhen``cfedde: Ah, thank you.
alesterjust do the make install
dre^awesome stuuf, you win
alesterw/o the tests
dre^stuuf++
t35t0rwhere's the perl shell?!
we need something better than monad
psh
or ruby shell or python shell

Page: 1 8 15 22 29 36 43 50 57 64 71 

IrcArchive