Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: what's this loo code?

by steves (Curate)
on Feb 04, 2003 at 17:55 UTC ( #232608=note: print w/replies, xml ) Need Help??

in reply to what's this loo code?

I don't see the point, but breaking it down:

  • Read from file: <>
  • Read in array context; i.e., get all lines from file: ()=<>
  • Assign those read lines to $=. That's the page length for formatted output: $==()
Basically it's saying, make the format page length the size of the number of lines in file. But just printing that doesn't really do a whole lot unless I'm missing something ...

Replies are listed 'Best First'.
Re: Re: what's this loo code?
by ihb (Deacon) on Feb 04, 2003 at 18:04 UTC
    Assign those read lines to $=

    No. Assign the length of the right hand side expression in the assignment.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://232608]
[Discipulus]: for sure they had to be in armaic, many reverse-eng errors where spot
[Discipulus]: do you know the google like translation: a rich.. as a camel through the needle hole?
[choroba]: yes, I've read about it and its probable original form
[Discipulus]: Tomas in greek ~140Ad
[Discipulus]: also the 'today bred' was probably 'tomorrow's bred'

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-11-23 20:44 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (338 votes). Check out past polls.