Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OFF Perl] crack induced behaviour T_T (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Mon Nov 27, 2006 9:18 pm    Post subject: [OFF Perl] crack induced behaviour T_T (résolu) Reply with quote

Plop tout le monde,

Bon, je suis en gros craquage, avec un bout de mon code perl situé là : http://www.rafb.net/paste/results/kAVfRV48.html

Les symptomes sont les suivants, en gros perl se comporte comme si la ligne print_title était remplacée par print_header sans argument supplémentaire... et là ça me dépasse, soit je bigle et je vois pas un gros truc bien évident soit... heu ben à vous de me dire.... Help!

edit : résolu en utilisant des titres de format puis select STDOUT et $~ = "NOM_DU_FORMAT"
Back to top
View user's profile Send private message
Bob_Le_Mou
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 114
Location: Pantin, France

PostPosted: Mon Nov 27, 2006 9:58 pm    Post subject: Reply with quote

Ouaip,

Tu peux aussi utiliser le module FileHandle et utiliser les méthodes :
format_name et format_top_name

genre ( je n'ai pas essayé )

STDOUT->format_name("ligne");
STDOUT->format_top_name("header");

...
_________________
Rimouski, c'est loin-in d'ici...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum