#perl - Tue 27 Mar 2007 between 17:03 and 20:07



j_i want to change a poperty of my object throught a method but it doesn't work
(sry for my english)
"encapsulation method"
q[ender]j_, using one of the Class::* modules?
j_no i try in the same .pl, for the moment
sub ModifierAlbum
{
my $this,$nouveau,$propriete=@_;
q[ender]don't...
heh
j_$this->{$_[2]}=$_[1];

}
oops
that's my method
q[ender]read perltoot and friends
perlbot, perltoot
perlbotPerl OO tutorial, part 1 - http://perldoc.perl.org/perltoot.html
Chris62vwDaveman, sup nig?
Davemanheh
q[ender]Chris62vw, that is highly offensive. You were not raised right.
Davemanbout to go out and ride
psybachregexs...
Davemanq[ender] ;p
phroggyj__: you should probably do some more reading on how to use objects in perl...
terminus_Limbic_Region: i understand. my browser is stuck on the DBI manual. =)
actionLimbic_Region did say hello to Daveman right
Limbic_Regiondid say hello to Daveman right
yep
Terminus_ - personally, I like to set {RaiseError => 1, PrintError => 0} in the DBI constructor and then wrap my entire transaction in an eval {}
Randaland ducttape!
Turtle_Headwhy do teachers ask questions of student?
Limbic_Regionthat way I don't need an or die $dbh->errstr on my prepare/execute/fetch
terminus_Limbic_Region: okidokie. =)
RandalTurtle_Head - why not?
Turtle_Headshould not the student ask question of the teacher?
terminus_thanks!
phroggyTurtle_Head: to punish them for being annoying.
Turtle_Headcommon lisp in emacs is kinda cool folks
j__in UML , u ve got a classroom (class) wich have poperty : Posts wich is an regroupment of the class post (-Posts : REGROUPMENT OF Post)

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 96 103 110 117 

IrcArchive