Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://426236]
help
Chatterbox?
[Corion]: Discipulus: Aaah, no, while I'm working on connecting the VR libraries to Perl, I'm not lost there ;) Although I watched The Matrix with a friend in London ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2016-12-06 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.