Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by Laurent_R (Abbot)
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 contemplating the Monastery: (10)
As of 2016-06-25 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.