Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: thanx for this great forums :)

by strat (Canon)
on Apr 02, 2007 at 08:37 UTC ( #607779=note: print w/ replies, xml ) Need Help??

in reply to thanx for this great forums :)

open HAN, "It" || die "No file";

this means:

open HAN, ( "It" || die "No file" );

so this will never fail as long as the string "IT" is true. If you really want to use ||, use parantheses around:

open( HAN, "It" ) || die "No file";

or use "or" instead (which is IMHO better readable:

open( HAN, "It" ) or die "No file";

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8."

Comment on Re: thanx for this great forums :)
Select or Download Code
Replies are listed 'Best First'.
Re^2: thanx for this great forums :)
by adam_blackice (Acolyte) on Apr 02, 2007 at 12:15 UTC
    thanx for your help ...., but what about the cgi what recommended to start with that will help me in the subset of the webmin issue ?......
      I don't see that you've actually asked a question about Webmin...Perhaps ask again with some specific question? (I work with Webmin code every day. I can probably help.)
        so my questions i want to make a subset of the webmin i want to make a web interface that makes me able to admin. any unix based systems ..... and i want
        1-to get the webmin code
        2-how can i read it so i can be able to distinguish the several modules from the code it self iam interested in three modules
        2-System logs
        3-Cron jobs
        i would be thankful for any help

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2015-11-26 16:50 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (703 votes), past polls