Polly Jean (carpediem_) wrote in component_help,
Polly Jean

  • Mood:
Maybe this has been asked before. I don't know maybe this is something really obvious I am missing. But I tried to use the tutorial found here so I can have a spiffy date but
nothing is working for me X| I thought I could copy and paste just to see how it would look before doing my own editing.

Compile error: line 134, column 10: Unexpected token found. Expecting: [TokenPunct] = (
Got: [TokenIdent] = name
S2::Node, S2/Node.pm, 139
S2::NodeArguments, S2/NodeArguments.pm, 25
S2::NodeTerm, S2/NodeTerm.pm, 450
S2::NodeIncExpr, S2/NodeIncExpr.pm, 41
S2::NodeUnaryExpr, S2/NodeUnaryExpr.pm, 40
S2::NodeProduct, S2/NodeProduct.pm, 28
S2::NodeSum, S2/NodeSum.pm, 31
S2::NodeRelExpr, S2/NodeRelExpr.pm, 41
S2::NodeEqExpr, S2/NodeEqExpr.pm, 29
S2::NodeLogAndExpr, S2/NodeLogAndExpr.pm, 29
S2::NodeLogOrExpr, S2/NodeLogOrExpr.pm, 29
S2::NodeRange, S2/NodeRange.pm, 29
S2::NodeCondExpr, S2/NodeCondExpr.pm, 29
S2::NodeAssignExpr, S2/NodeAssignExpr.pm, 29
S2::NodeExpr, S2/NodeExpr.pm, 29
S2::NodePrintStmt, S2/NodePrintStmt.pm, 48
S2::NodeStmt, S2/NodeStmt.pm, 35
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 42
S2::NodeFunction, S2/NodeFunction.pm, 104
S2::Layer, S2/Layer.pm, 58
S2::Compiler, S2/Compiler.pm, 27


133: if ($p.view=="friends") {
134: """""";
135: } else { # for recent, day, entry pages.
136: """""";
137: }

I thought htat maybe if I erase that just part to see if everything would work it didn'y instead another error came out that there is a error in

print_entry_header((defined $e.security_icon?"$e.security_icon   ":"")+$e.time->time_format()+" "+$e.time->date_format("long")+"");

I really have no idea what I am doing wrong.
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 1 comment