Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Taken out of Context

by Petruchio (Vicar)
on May 23, 2001 at 20:17 UTC ( [id://82604]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > perl -e 'print *b,"\n";'
    *main::x
    > perl -e 'print \*b,"\n";'
    GLOB(0x80d1f44)
    
  2. or download this
    > perl -e 'print scalar(*b),"\n";'
    *main::x
    > perl -e 'print scalar(\*b),"\n";'
    GLOB(0x80d1f4c)
    
  3. or download this
    > perl -e 'print "$_\n" for (0..*b);'
    0
    ...
    6
    7
    (and so on)
    
  4. or download this
    > perl -e 'print "Yup\n" if *b;'
    Yup
    > perl -e 'print "Yup\n" if \*b;'
    Yup
    
  5. or download this
    > perl -e 'print "Yup\n" if 1;'
    Yup
    
  6. or download this
    > perl -e '*a = 1; print *a,"\n";'
    *main::1
    > perl -e '*a = *b; print *a,"\n";'
    *main::b
    
  7. or download this
    > perl -e '$x = "-> " . *b . " <-"; print "$x\n";'
    -> *main::b <-
    > perl -e '$x = "-> " . \*b . " <-"; print "$x\n";'
    -> GLOB(0x80d1f80) <-
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://82604]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-23 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found