#perl - Fri 9 Mar 2007 between 10:25 and 10:35



matteo$ mplayer -frames 0 -identify cosmo_night.wav |fgrep ID_LENGTH
IDENTIFY: ID_LENGTH=14103.00
timhHello
Is there a way to specify variable variables? ... like ${foo$i} = $bar ?
Ani-_timh: why do you want to do that?
ayrnieutimh - yes, but use a hash instead.
merlynyou really don't want to do that
this is not PHP. :)
or shell
Ani-_timh: are you sure you can't use an array?
timhAni-_, ayrnieu, merlyn: I have to fill out a form (WWW::Mechanize) ... where I need $fieldname$i => $value
merlynbut mechanize doens't need a *Perl* variable named $fieldname3
it needs an element of a hash with a key of "fieldname3"
that's an entirely different problem
timhmerlyn: offcourse ... you're right ... thanks
actionmerlyn bows
merlynbows
this is not my first week using Perl. :)
nor programming.
Khisanthfirst millenium
merlynI was just discussing Unix with my friend last night... and this year I will have used Unix for *30* years.
ayrnieuYou first-milleniers are all the same.
merlynOlder than dirt. :)
Ani-_You are dirt! So you can't be older...
merlynnah - that's just because I haven't showered yet.
Ani-_.= " :)";
merlyngimme another half hour
you'll see I'm far more fat than dirt. :)
lesshastehow do you split of two things? I.e. I want to split if there is a , or a space
Kryczek12:05 < Kryczek> Hi everybody! Could someone please help me with these 2 simple Perl-Tk questions? How can I force my Tk::Text widget (or the whole window) to redraw everytime my
Khisanthsplit /,| /
Kryczekprogram adds text to the widget, and how can I force that widget to scroll down (automatically perhaps) when the text goes under the visible area?
12:05 < Kryczek> of course I've searched Google before asking here
12:05 < Kryczek> I'm asking here because my searches were in vain :/
actionKhisanth stabs Kryczek
Khisanthstabs Kryczek
merlyneek - stop with the paste
maukelesshaste: split /[, ]/
KryczekKhisanth: I asked here already, I'm not pasting from another channel :|
maukeirrelevant
Kryczekand it was totally ignored
merlynthen perhaps nobody knew

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

IrcArchive