Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Looking for discussions of "block after or" syntax error

by Laurent_R (Monsignor)
on May 01, 2013 at 21:20 UTC ( #1031650=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open my $FH, "<", $in or (print "cannot open file $in\n" and exit 3);
  2. or download this
    $ perl -e 'open my $FH, "<", "xml.pl" and print "Opened!" or print "ca
    +nnot open file\n" and print 3'
    Opened!
    $ perl -e 'open my $FH, "<", "xml2.pl" and print "Opened!" or print "c
    +annot open file\n" and print 3'
    cannot open file
    3
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2015-07-29 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls