Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: when i try to execute another scripts if fails

by 2teez (Priest)
on Jun 17, 2014 at 21:40 UTC ( #1090214=note: print w/replies, xml ) Need Help??

in reply to when i try to execute another scripts if fails

But it will not work in this script, i get no warnings.

Let me ask: Will this code below display the second print?

#!/usr/bin/perl -l use warnings; use strict; my $value = 0; print 'home'; exit $value; ## Note here please print 'another home';
If not! Why? That would be the answer :)

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1090214]
[LanX]: FF has become a source of instability :(
[1nickt]: erix not so wonderful for the lungs :-(
[erix]: the stuff is pretty high up as I understand it; I have not felt any effect on lungs/breathing
[LanX]: Apocalypse Wow
[Corion]: Yeah, FF isn't great but Chrome isn't great either. They added some features to the devtools but broke (at least since yesterday) sending custom headers and overriding the UA header

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2017-10-17 12:35 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (230 votes). Check out past polls.