Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: suppressing stat/newline warning

by Zaxo (Archbishop)
on Nov 14, 2002 at 06:27 UTC ( #212778=note: print w/replies, xml ) Need Help??


in reply to suppressing stat/newline warning

In old perl you can't be so specific, but in 5.6+ you can say:

{ no warnings 'newline'; -e "${dir}/foo" or mkdir "${dir}/foo"; }

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: suppressing stat/newline warning
by superpete (Beadle) on Nov 14, 2002 at 19:36 UTC
    Rats! I want to support perl 5.0x Thanks for the post, though, I learned something new!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2021-04-23 14:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?