From: Jens Luedicke Date: 2001-01-11T10:50:46+09:00 Subject: [ruby-talk:9091] @_ in Perl / ? in Ruby Hi there ... In Perl there is the @_ array that contains all the data that is passed to a function. I want to check what data (if any) is passed to a function if I click on a QPushButton... @button = QPushButton.new("Nedit", @vbox) @button.resize(100, 30) Qt2::connect(@button,QSIGNAL('clicked()'),self, 'button_clicked') @button.show button_clicked would handle the callback if the button is clicked. My problem is that I don't know how to pass other data to the callback and so a little more knowledge about Ruby's @_ would be helpful... -- with friendly regards.... jens luedicke PMC - Perl Mail Client http://www.irs-net.com/ wget it: wget -m -nH ftp://ftp.irs-net.com/pmc >> President BU-ll-SH-it ... -- If's Beste Freundin: Else