Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Laurent_R (Canon)
on May 01, 2013 at 17: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 romping around the Monastery: (2)
As of 2018-09-26 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (205 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 18:53 UTC) Welcome new users!