Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

RE: RE: RE: mybooks.pl (or or )

by BlueLines (Hermit)
on Aug 11, 2000 at 00:06 UTC ( [id://27422]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to RE: RE: mybooks.pl (or or )
in thread mybooks.pl

i'm using 5.005_03, and this is what happens when i try to use || in a naughty way:
#!/usr/bin/perl $FOO="/etc/passwd"; open FOO || die "Argh: $!\n";

results in:
nooky:~$ ./foo.pl Precedence problem: open FOO should be open(FOO) at ./foo.pl line 3.
Running with -w like a good boy produces even more useful output:
nooky:~$ ./foo.pl Precedence problem: open FOO should be open(FOO) at ./foo.pl line 3. Probable precedence problem on logical or at ./foo.pl line 3.

I have not played with 5.6 yet, but I'd be a little upset if this feature was removed....

BlueLines

Disclaimer: This post may contain inaccurate information, be habit forming, cause atomic warfare between peaceful countries, speed up male pattern baldness, interfere with your cable reception, exile you from certain third world countries, ruin your marriage, and generally spoil your day. No batteries included, no strings attached, your mileage may vary.

Replies are listed 'Best First'.
RE: RE: RE: RE: mybooks.pl (or or )
by tye (Sage) on Aug 11, 2000 at 12:59 UTC

    Ah, that only works for open. Thanks for clearing that up.

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://27422]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.