Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: scalar or sub that can tell me the terminal print offset ?

by Happy-the-monk (Monsignor)
on Mar 17, 2012 at 19:36 UTC ( #960206=note: print w/ replies, xml ) Need Help??


in reply to scalar or sub that can tell me the terminal print offset ?

Feeling like I just returned from the 14th German Perl Workshop I felt markov's words still ringing in my ears: "print returns 1 if successful, whatever that means"

That's what perldoc says. I had to look it up, because you made me wonder: it might just return any true value, so why not the number of characters printed. But unfortunately no. You may want to write a wrapper including your set of rules.

Cheers, Sören


Comment on Re: scalar or sub that can tell me the terminal print offset ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://960206]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2014-09-21 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (171 votes), past polls