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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://438889]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2024-04-24 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found