Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: This is not a pipe

by sfink (Deacon)
on Mar 12, 2005 at 08:10 UTC ( #438889=note: print w/replies, xml ) Need Help??


in reply to This is not a pipe

! /^\|$/; $this !~ /^\|$/; ord($this) != 124; ord($this) != 0x7c; ord($this) != 0174; seek(THIS, 2, 0); `ls -l $this` !~ /^p/; ! -p _; return ! -p _; -p _ && die; die if -p _; return 1 unless -p _; use Test::More; isnt($this, 'pipe', 'Magritte check'); $this ne 'a|'; next unless /^(\w)\|$/; next if $1 eq 'a'; open(my $fh, "a|"); while(<$fh>) { die if /\Q$this\E/; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2019-10-16 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?