Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Laurent_R (Canon)
on May 01, 2013 at 21:20 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1031650]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-26 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found