Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Context: compile-time vs. run-time

by shmem (Chancellor)
on Jan 25, 2009 at 15:09 UTC ( #738778=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -le 'my $f = 1; ($f > 0 ? @a : $a ) = ("a", "b", "c")'
    Assignment to both a list and a scalar at -e line 1, at EOF
    Execution of -e aborted due to compilation errors.
    
  2. or download this
    perl -le 'my $f = -1; ($f > 0 ? @a : @b ) = ("a", "b", "c"); print "a:
    + @a\nb: @b"'
    a: 
    ...
    perl -le 'my $f = 1; ($f > 0 ? @a : @b ) = ("a", "b", "c"); print "a: 
    +@a\nb: @b"'
    a: a b c
    b:
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://738778]
Approved by Corion
Front-paged by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-01-23 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?