Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 contemplating the Monastery: (9)
As of 2014-12-27 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls