Ticket #608 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

"beginner mode" error

Reported by: meironC Owned by: Sewi
Priority: major Milestone:
Component: Context Sensitive Help Version: 0.46
Keywords: Cc:

Description (last modified by szabgab) (diff)

I have written a code which uses a pipe line in Padre 0.46 and it gave this error: Using a | char in open without a | at the beginning or end is usually a typo.

Here is the code:


use warnings;
use strict;

#This is a program to display the headline from the perl site. It #is taken from an e-book.

open LYNX, "lynx -source http://www.perl.com |" or die " Can't open lynx: $!";

$_ = "";
$_ = <LYNX> until /standard\.def/;

my $head = <LYNX>;

$head = ~ m|^<A HREF=[^>]+>(.*?)</a>|i;

print "Today's www.perl.com headline: $1/n";

Change History

comment:1 Changed 5 years ago by szabgab

  • Component changed from editor to perl help
  • Description modified (diff)

comment:2 Changed 5 years ago by szabgab

  • Description modified (diff)

comment:3 Changed 5 years ago by Sewi

  • Owner set to Sewi
  • Status changed from new to accepted

comment:4 Changed 5 years ago by Sewi

  • Status changed from accepted to closed
  • Resolution set to fixed

Thank you for reporting!
Fixed in r8326

Note: See TracTickets for help on using tickets.