Opened 10 years ago

Closed 10 years ago

#608 closed defect (fixed)

"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)

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 |" or die " Can't open lynx: $!";

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

my $head = <LYNX>;

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

print "Today's headline: $1/n";

Change History (4)

comment:1 Changed 10 years ago by szabgab

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

comment:2 Changed 10 years ago by szabgab

  • Description modified (diff)

comment:3 Changed 10 years ago by Sewi

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

comment:4 Changed 10 years ago by Sewi

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

Thank you for reporting!
Fixed in r8326

Note: See TracTickets for help on using tickets.