Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: "Secret" operators

by mauke (Novice)
on Jan 29, 2005 at 15:54 UTC ( #426236=note: print w/ replies, xml ) Need Help??


in reply to Re^2: "Secret" operators
in thread "Secret" operators

That's the <> operator. =$something= isn't a simple scalar, so it's equivalent to glob("=$something="). On the other hand, <$something> means readline($something). (For special weirdness, <$ something> is the same as glob($something).)

See glob, readline and I/O Operators in perlop for details.


Comment on Re^3: "Secret" operators
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-12-25 22:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (163 votes), past polls